GetPointRayCastPos

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns the position of the point of collision

Warning

The calculation is not the fastest thing on the planet, and spamming a bunch of casts every frame might be not the healthiest thing for Fallout New Vegas performance

Syntax

[help]
(float) GetPointRayCastPos fOriginX:float fOriginY:float fOriginZ:float fRotX:float fRotY:float fXOut:float fYOut:float fZOut:float iColliderFlag:int

Example

positionOfCollisionXYZ = GetPointRayCastPos fOriginX, fOriginY, fOriginZ, fRotX, fRotY, fXOut, fYOut, fZOut, iColliderFlag 

Notes

See Also