(Created page with "A sphere collider. =Members= {{ScriptFunction|bool|Enabled|{get; set;}|Whether the sphere collider component is enabled or not.|5= local thisObject=Space.Host.ExecutingObjec...") |
(No difference)
|
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)
|