Quantcast
Channel: Questions in topic: "quaternion.slerp"
Viewing all articles
Browse latest Browse all 133

quaternion sleep (trying to make slower turns?)

$
0
0
hey gang, trying to fix my quaternion.slerp so it slowly turns to face the target, but it spins really fast (doesn't seem to matter if TurnSpeed is 12, or 0.1) its always at the same speed rather then turning slowly turning... if (Target != null) { this.transform.rotation = Quaternion.Slerp (transform.rotation, (Quaternion.LookRotation (Target.transform.position - this.transform.position)), Time.deltaTime * TurnSpeed); }

Viewing all articles
Browse latest Browse all 133

Trending Articles



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