- Home /
Question by
Le-Capitaine · Mar 06, 2014 at 08:52 PM ·
c#mouse movement
What can I do to smoothen mouse-driven movement with this particular code?
rigidbody.rotation = Quaternion.Euler (rigidbody.velocity.y * -tilt/5, 0, rigidbody.velocity.x * -tilt/5);
Have been toying around with the Space Shooter project for practice. One of the things I've done is replace the arrow input with the mouse, but as it is, the movement is jerky as all hell. Is there a thing I can do to help with that?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613135548im_/https://answers.unity.com/themes/thub/images/avi.jpg)