Quantcast
Channel: Latest Questions by LlamaNervous
Viewing all articles
Browse latest Browse all 48

Convert from javascript to c#

$
0
0
Hi can anyone help me convert this code from javascript to c#? I tried myself but couldn't figure out what to replace "var rotation" at the start with :/ Thanks var rotation = Quaternion.LookRotation(Target.position - transform.position); transform.rotation = Quaternion.Slerp(transform.rotation, rotation, Time.deltaTime * Damping);

Viewing all articles
Browse latest Browse all 48

Trending Articles



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