KS.Reactor.Client.Unity.ksColliderData Class Reference

A hidden component that contains a mapping from a collider to its PhysX simulation flag value and collision filter override. More...

Inheritance diagram for KS.Reactor.Client.Unity.ksColliderData:

Classes

class  OldFormat
 

Public Member Functions

void OnEnable ()
 Hides the component in the inspector. More...
 
void Start ()
 Destroys the component if the Collider is missing. More...
 

Public Attributes

Component Collider
 Unity collider More...
 
int ShapeId
 Shape ID More...
 
ksExistanceModes Existance
 Does this collider exist on the client, server, or both? More...
 
bool IsSimulation = true
 Is this collider used in physics simulations? If false, this collider wll not participate in collision and overlap checks. More...
 
bool IsQuery = true
 Is this collider used in physics queries? If false, physics queries will never return this collider in results. More...
 
ksCollisionFilterAsset Filter
 Collision filter on a specific collder. More...
 
float ContactOffset = -1f
 Colliders whose distance is less than the sum of their contact offset values will generate contacts. More...
 

Detailed Description

A hidden component that contains a mapping from a collider to its PhysX simulation flag value and collision filter override.

Member Function Documentation

◆ OnEnable()

void KS.Reactor.Client.Unity.ksColliderData.OnEnable ( )

Hides the component in the inspector.

◆ Start()

void KS.Reactor.Client.Unity.ksColliderData.Start ( )

Destroys the component if the Collider is missing.

Member Data Documentation

◆ Collider

Component KS.Reactor.Client.Unity.ksColliderData.Collider

Unity collider

◆ ContactOffset

float KS.Reactor.Client.Unity.ksColliderData.ContactOffset = -1f

Colliders whose distance is less than the sum of their contact offset values will generate contacts.

◆ Existance

ksExistanceModes KS.Reactor.Client.Unity.ksColliderData.Existance

Does this collider exist on the client, server, or both?

◆ Filter

ksCollisionFilterAsset KS.Reactor.Client.Unity.ksColliderData.Filter

Collision filter on a specific collder.

This overrides the collision filter set in the scene or whole entity.

◆ IsQuery

bool KS.Reactor.Client.Unity.ksColliderData.IsQuery = true

Is this collider used in physics queries? If false, physics queries will never return this collider in results.

◆ IsSimulation

bool KS.Reactor.Client.Unity.ksColliderData.IsSimulation = true

Is this collider used in physics simulations? If false, this collider wll not participate in collision and overlap checks.

◆ ShapeId

int KS.Reactor.Client.Unity.ksColliderData.ShapeId

Shape ID