Quantcast
Channel: Answers by "Ezio1302"
Viewing all articles
Browse latest Browse all 8

Answer by Ezio1302

$
0
0
You may want to check out the entry in the Scripting documentation on Transform.localPosition: http://docs.unity3d.com/ScriptReference/Transform-localPosition.html And in terms of the completely ignore physics, you can just turn off the rigidbody: This is in JavaScript. function Start(){ rigidBody = gameObject.GetComponent(rigidbody); } function Disable(){ rigidBody.enabled=false; } function Enable(){ rigidBody.enabled=true; } Hope that helps.

Viewing all articles
Browse latest Browse all 8

Trending Articles



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