Commit cb9091c9 authored by Maurice Tayeb Andreas's avatar Maurice Tayeb Andreas

Set Controller Position in Update um Abweichung zu verhindern

parent b6df6209
......@@ -34,6 +34,7 @@ public class LHMTurnAroundMenuController : MonoBehaviour {
actPadPos = device.GetAxis();
dif = lastPadPos.x - actPadPos.x;
gameObject.transform.RotateAround(pos.position + posoffset, pos.forward, dif * sensitivity);
gameObject.transform.localPosition = posoffset;
lastPadPos = actPadPos;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment