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 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.

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

Laisser un commentaire

Veuillez ouvrir une session pour ajouter un commentaire. Pas encore membre ? Rejoignez-nous dès aujourd’hui