Quantcast
Channel: Answers for "Simple Enemy AI not working : NullReferenceException: Object reference not set to an instance of an object"
Viewing all articles
Browse latest Browse all 6

Answer by tanoshimi

$
0
0
Try: transform.rotation = Quaternion.Slerp(transform.rotation, Rotation, Time.deltaTime * Damping); not: transform.Rotation = Quaternion.Slerp(transform.Rotation, Rotation, Time.deltaTime * Damping);

Viewing all articles
Browse latest Browse all 6

Trending Articles



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