transform.parent.position += new Vector3(transform.rotation.x, 0, transform.rotation.z * Thrust) * Time.deltaTime;
Thrust is 30;
And the parent of this script’s parent is a big block.
PROBLEM: It does not move! No errors!
transform.parent.position += new Vector3(transform.rotation.x, 0, transform.rotation.z * Thrust) * Time.deltaTime;
Thrust is 30;
And the parent of this script’s parent is a big block.
PROBLEM: It does not move! No errors!
use transform.eulerAngles.
transform.rotation refers to the quaternion values.
but the single values are float i guess…
what do you mean?
use transform.eulerAngles.x/y/z ? :o
What exactly are you trying to do with this anyway?