14 lines
472 B
Plaintext
14 lines
472 B
Plaintext
#title GetRayHit3D [RCBasic Doc]
|
|
#header Sub GetRayHit3D( index, ByRef actor_id, ByRef x, ByRef y, ByRef z, ByRef normal_x, ByRef normal_y, ByRef normal_z )
|
|
|
|
This function will get the collision point and the normal of a ray hit.
|
|
|
|
NOTES:
|
|
#list ul
|
|
#li CastRay3D or CastRay3D_All must be called prior to calling this function
|
|
#li actor_id will return -1 if there was not a hit at the specified index
|
|
#/list
|
|
|
|
#ref CastRay3D CastRay3D_All CastRay2D CastRay2D_All GetRayHit2D
|
|
|