ArcBasicDocs

CollisionNY

Collision normal Y.

CollisionNY ( entity,index )

Parameters

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

Description

Gives back the y part of the direction the surface faced where a hit happened. Near 1 means it hit a floor, near 0 a wall, and near -1 a ceiling.

See also