KS.Reactor.ksICollider Interface Reference

Collider interface used in common scripts that run on server and client More...

Inheritance diagram for KS.Reactor.ksICollider:
KS.Reactor.Client.Unity.ksIUnityCollider KS.Reactor.Server.ksCollider KS.Reactor.Client.Unity.ksConeCollider KS.Reactor.Client.Unity.ksCylinderCollider KS.Reactor.Client.Unity.ksUnityCollider KS.Reactor.Server.ksCharacterController KS.Reactor.Server.ksShapeCollider KS.Reactor.Server.ksBoxCollider KS.Reactor.Server.ksCapsuleCollider KS.Reactor.Server.ksConvexMeshCollider KS.Reactor.Server.ksHeightFieldCollider KS.Reactor.Server.ksPlaneCollider KS.Reactor.Server.ksSphereCollider KS.Reactor.Server.ksTriangleMeshCollider

Properties

ksIEntity Entity [get]
 Entity the collider is attached to More...
 
float ContactOffset [get]
 Get/Set contact offset on a collider More...
 
bool IsEnabled [get, set]
 Get/Set the enabled state of a collider More...
 
bool IsQueryCollider [get, set]
 Get/Set if this collider is used in scene queries. More...
 
bool IsSimulationCollider [get, set]
 Get/Set if this collider is used in physics simulations. More...
 
bool IsTrigger [get, set]
 Get/Set if this collider is a trigger. More...
 
ksCollisionFilter CollisionFilter [get, set]
 Get/Set the collision filter on the collider. More...
 
ksBounds Bounds [get]
 Get the bounds of a collider at the position of its attached entity or at the origin if the collider is not attached to an entity. More...
 

Detailed Description

Collider interface used in common scripts that run on server and client

Property Documentation

◆ Bounds

ksBounds KS.Reactor.ksICollider.Bounds
get

Get the bounds of a collider at the position of its attached entity or at the origin if the collider is not attached to an entity.

◆ CollisionFilter

ksCollisionFilter KS.Reactor.ksICollider.CollisionFilter
getset

Get/Set the collision filter on the collider.

◆ ContactOffset

float KS.Reactor.ksICollider.ContactOffset
get

Get/Set contact offset on a collider

◆ Entity

ksIEntity KS.Reactor.ksICollider.Entity
get

Entity the collider is attached to

◆ IsEnabled

bool KS.Reactor.ksICollider.IsEnabled
getset

Get/Set the enabled state of a collider

◆ IsQueryCollider

bool KS.Reactor.ksICollider.IsQueryCollider
getset

Get/Set if this collider is used in scene queries.

◆ IsSimulationCollider

bool KS.Reactor.ksICollider.IsSimulationCollider
getset

Get/Set if this collider is used in physics simulations.

◆ IsTrigger

bool KS.Reactor.ksICollider.IsTrigger
getset

Get/Set if this collider is a trigger.