I am rather new to Bullet in general but so far I have like it allot. Currently I am trying
to assign damage based on the force of a collision of one object with another object.
Although I am able to collect collisions, I am not sure how to get this force.
Any ideas?
Damage based on Collision Force
-
- Posts: 26
- Joined: Mon Sep 21, 2009 7:30 am
-
- Posts: 10
- Joined: Thu Oct 08, 2009 6:57 pm
Re: Damage based on Collision Force
Yes, that will work nicely.
Thanks soo much for all of your help.
Thanks soo much for all of your help.
-
- Posts: 2
- Joined: Fri Oct 29, 2010 12:10 pm
Re: Damage based on Collision Force
Hi,
I'm completely new to this forum... I'm trying to get "damage detection" working in blender.
I have to admit that the linked thread did not help me, I think I just don't know enough of bullet.
Maybe someone could please post some example code how to get the transfered momentum of a collision (to some object) inside a python script attached to the collision sensor (of that object)?
Thanks in advance
I'm completely new to this forum... I'm trying to get "damage detection" working in blender.
I have to admit that the linked thread did not help me, I think I just don't know enough of bullet.
Maybe someone could please post some example code how to get the transfered momentum of a collision (to some object) inside a python script attached to the collision sensor (of that object)?
Thanks in advance