NewtonHeightFieldRayCastCallback
Contents
NewtonHeightFieldRayCastCallback
typedef dFloat (*NewtonHeightFieldRayCastCallback) (const NewtonBody* const body, const NewtonCollision* const heightFieldCollision, dFloat intersection, int row, int col, dFloat* const normal, int faceId, void* const usedData)
Usage
Callback function that is called by Newton function(s): NewtonHeightFieldSetUserRayCastCallback
Parameters
- body NewtonBody*
- heightFieldCollision NewtonCollision*
- intersection dFloat
- row int
- col int
- normal dFloat*
- faceId int
- usedData void*
Return
- dFloat
Description
Remarks
- This is not a library function, but a callback event.