Download

Getting velocity of colliding bone?

Hello,

I am doing some simple tests to try to figure out how "ComponentHit"s work and how to get velocity values out of them.
I have two spheres which I impulse push against each other.
First with equal force, then I lower the force of one of them by various amounts.

I thought that I could use “Normal Impulse” to get the velocity-at-collision of the two objects.
But when I print those out they are the same for both objects even if they move at different speeds before impact (and after).

I can’t find a “Hit” member variable that gives me this impact velocity.

I also tried a “Get Physics Linear Velocity” triggered by the hit event but then that gives me only the velocities AFTER the hit, which are very different.

How can I get the actual velocities of components/bones AT the time of collision?

Cheers
Fred