Download

Physics issue/glitch

Re-posting this from another thread as I realized it is probably better suited here and I was posting the previous after not sleeping at six in the morning.

I’ve been working on coding a dynamic drag system for a project I’m working on and it seems to work fine till I start trying to work with the relative lateral velocity. At this point any sudden change in direction causes the vehicle to suddenly accelerate and vanish. It seems to work just fine longitudinally (forward and backwards) but it crashes when I attempt to do lateral movement. Sometimes it is even failing hard enough to crash the whole program. I’ll link a couple of the error codes being spit out by it. Also for the record i’m using the add force command for this.

I am aware it says to enable simulate physics but that’s the strange part as it is already.

Can see it working as it should here:

And this is after adding the lateral component and you can see it vanishing as soon as I reverse the turn