Hi everyone, I have a simple test where i want to do a kind of spy hunter style driving game but i want to move the vehicle around with physics not just "move to" stuff. I'm having some success but the biggest problem is that i can't figure out how to slow down the approach?
my basic approach at this point is to compare the Y of the destination and the object.. this pic below is the basic approach but i did one better where i made the distance value be a variable to the impulse, but it didn't seem to make much difference. the idea being the further away it was from it's destination the more impulse and as it got closer less impulse.. but it would still effectively overshoot about the same.
basically what happens is the object just keeps going back and forth overshooting the destination. like a sine wave behavior.. up down up down..
I've been banging my head at this for awhile before i came to the forum. this is just Y but i believe if i can get this behavior under control i'll be able to apply the same to X. Just understanding how to throttle directional speed with impulse effectively.
Thanks!
Caleb