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.
↧