Collision vector

I see, try to find a penetration value in the callback parameter.

image

Is there anything other than an id of an object?

I was prompted by such a solution: to find the vector from the central axis of the person to the point of collision, normalize and multiply by the vector of the vehicle’s impulse, get the momentum from the push, if the value is below a threshold, ignored.

Maybe you know a way to find a vector from the central axis to the point of collision?

In the btManifoldPoint, there is a distance you can get. I guess it’s the penetration distance.