ArcBasicDocs

CollisionSurface

Surface collided with.

CollisionSurface ( entity,index )

Parameters

entity
the entity's handle.
index
which hit, from 1 to CountCollisions.

Description

Gives back the surface of the mesh that was hit, or 0 if what was hit wasn't a mesh's triangles.

See also