A sphere collider.
Whether the sphere collider component is enabled or not.
local sphereColl=thisObject.SphereCollider
local enabled=sphereColl.Enabled
Space.Log(enabled)
Return whether the sphere collider is trigger or not.
local sphereColl=thisObject.SphereCollider
local isTrigger=sphereColl.IsTrigger;
Space.Log(isTrigger)
Return the center of the sphere collider.
local sphereColl=thisObject.SphereCollider
local center=sphereColl.Center
Space.Log(center)
Return the radius of the sphere collider.
local sphereColl=thisObject.SphereCollider
local radius=sphereColl.Radius
Space.Log(radius)
|