Quantcast
Channel: Answers by "M-G-Production"
Viewing all articles
Browse latest Browse all 52

Answer by M.G. Production

$
0
0
Hi gonzalo rivero! theCar.transform.position will give you a Vector3 variable (Vector3 are 3 floats stored in a single var. Ex (x,y,z)) theCar.transform.eulerAngles will give you another Vector3 variable. I would put this in the update function of your neon lights script. Don't forget to make some Maths! Because if you say something like: neonLight.transform.position = theCar.transform.position; neonLight.transform.eulerAngles = theCar.transform.eulerAngles; It will simply follow the car from its Origin... If you need more tips, please consider showing me more infos in your question! Bests Math

Viewing all articles
Browse latest Browse all 52

Trending Articles



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