SC_getFaceHit
SYNTAX
SC_getFaceHit ()
or
SC_getFaceHit (collisionNumber)
returns the id of the polygon hit in the last collision
(as listed in the object's memblock)
Can be called with no argument to return data from the closest collision
or with a collision number if multiple collision points exist.
(see SC_multipleRayCast command for more details on multiple collision points)
RELATED INFO
Collision Commands Menu
Index