Method GetRigidBodyIndex
GetRigidBodyIndex(Entity)
Gets the zero-based index of the rigid body.
Declaration
public int GetRigidBodyIndex(Entity entity)
Parameters
Type | Name | Description |
---|---|---|
Entity | entity | The entity. |
Returns
Type | Description |
---|---|
int | The rigid body index. |