Quantcast
Channel: Answers by "jaskij"
Viewing all articles
Browse latest Browse all 37

Answer by jaskij

$
0
0
I'd say: make the render a child GameObject (so that it's rotation doesn't affect rigidbody's rotation) then keep that rotation in a separate variable, then when the player presses forward apply a force/acceleration in the correct direction to the rigidbody.

Viewing all articles
Browse latest Browse all 37

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>