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

Answer by tanoshimi

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

View Article


Answer by evildumdum

figured out the problem myself, i had attached the wrong character controller

View Article


Answer by tanoshimi

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

View Article

Answer by evildumdum

figured out the problem myself, i had attached the wrong character controller

View Article

Answer by tanoshimi

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

View Article


Answer by evildumdum

figured out the problem myself, i had attached the wrong character controller

View Article
Browsing all 6 articles
Browse latest View live


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