Enfusion Script API
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
PhysicsUtils Interface Reference

Static Public Member Functions

static proto int FindColliderIndex (MeshObject meshObject, string colliderName)
 Looks for a collider using colliderName in meshObject, returns collider index or -1.
 
static proto int GetNodeIndex (MeshObject meshObject, int colliderIndex)
 Gets node index (parent bone) from colliderIndex in meshObject, returns node index or -1.
 

Member Function Documentation

◆ FindColliderIndex()

static proto int PhysicsUtils.FindColliderIndex ( MeshObject  meshObject,
string  colliderName 
)
static

Looks for a collider using colliderName in meshObject, returns collider index or -1.

◆ GetNodeIndex()

static proto int PhysicsUtils.GetNodeIndex ( MeshObject  meshObject,
int  colliderIndex 
)
static

Gets node index (parent bone) from colliderIndex in meshObject, returns node index or -1.


The documentation for this interface was generated from the following file: