Download

More controller over the the phsyics system

I am trying to have more control over the physics system basically having control the linear and angular velocities after collisions and try to smoothly lock an objects angular rotation if it goes above some point and gradually normalize it. Kind of like constrains but a bit smoother.

Just editing the linear and angular physics velocities doesn’t seem to work.
I have tried setting the tick groups to Pre Physics, Post physics and During Physics

And set the PhysicsAngularVelocity to 0 in the tick. But there is certainly some movement that happens which I don’t want.

– Edit –

I went through the PhysX implementation it seems doable but it looks kind of complex.

Is there no other way to set the linear or angular velocities directly? No matter if there is a collision or not.