Quantcast
Channel: Answers by "Flynn"
Viewing all articles
Browse latest Browse all 59

Answer by Flynn

$
0
0
Use tranform.InverseTransformDirection(dir); To convert local directions to global coordinates. For example: rigidbody.AddForce(tranform.TransformDirection(inputVector * MoveForce), ForceMode.Force); Instead of the last line.

Viewing all articles
Browse latest Browse all 59

Trending Articles



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