How to get the force applied on the hkpRigidBody?

How to get the force applied on the hkpRigidBody?

Hi,

I'd like to know how many forces are applied on the entity and what are they. Is there a way to get the force?

Thank!

2 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione

Hi Kevin,

I'm afraid we don't keep this information, when a force is applied to a body it is immediately turned into a change in velocity. The best way to determine the force applied to a rigid body is to look at the velocity before and after the world step and use the difference in momentum to determine the force.

Amy Developer Support Engineer Havok www.havok.com

Lascia un commento

Eseguire l'accesso per aggiungere un commento. Non siete membri? Iscriviti oggi