I am using the blender game engine to run drop test physics simulations and I was wondering if there is a way to collect the force and impact data from the collision. Maybe using "appliedImpulse"? I am using Python within the BGE and can already collect impact points. I am trying to find contact time and/or force. Thank you!

  • $\begingroup$ It sounds like what you're looking to measure is a change in velocity. Look into getLinearVelocity() $\endgroup$ – Mentalist Jun 27 at 3:13
  • $\begingroup$ @Mentalist is there a way to check the change in velocity over time? For acceleration etc. $\endgroup$ – Russell Chow Jun 28 at 15:48
  • $\begingroup$ Yes. On each tick of the game engine, measure the linear velocity, and based on the difference between the current and last tick - do something. I used this approach to calculate fall damage and it worked pretty well. Make sure the object is using a compatible physics type, or it won't work. $\endgroup$ – Mentalist Jun 29 at 23:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.