# Turning Problem

Hi, i’m moving an object with AddRelativeForce. At a certain point i need this object to turn 90° around a point. I tried with Transform.RotateAround that work well for the rotation, the problem is that when my object end the rotation it drift away, basically it has a tangential acceleration. How can i fix that? is there a way i can lock the object on his local axis? or maybe i need zeroing his force at the end of the 90° turn and then applying again the force to move it forward? or is there a way to compensate the drifting adding an opposite and equal force? i tried different solution but i couldn’t get it…
During the turn i compensate the drift adding a relative force with the same magnitude of the force i use to move the object but in direction opposite to the tangent (in this case the tangent is local Y), my problem at the moment is when it ends the turn.

Any help would be appreciated.

Gabriele

I would apply force in which ever direction the object is face, so if you rotate it, let the force vector adjust to the new angle.

I’m already doing this with add relative force, the problem is that since the object enter the turn with a force applied to it on his local x axis and turn 90° as a result i have a residual force on his local y axis at the end of the turn that makes it drift.