|
It is upto the user to provide this function if they want to use the True Axis Physics SDK debug rendering features. This can be done though the function TA::PhysicsRender::RenderArrowCallBack. This function is used to render collisions. - Note:
- This function is called during TA::Physics::Update. It may be necessary to keep make a list of primitives, then render them later when appropriate.
typedef void (TAC_CALL *RenderArrowCallBack)(const Vec3& v3Pos, const Vec3& v3Vector, u32 nColour); - Parameters
- v3PosA
- The arrow position.
- v3Vector
- The direction and magnitude of the arrow.
- nColour
- 32 bit colour. Alpha, Red, Green Blue.
|