hey everyone, ok so i have a ball that is a child to another ball that rolls around the scene. however this one has a freeze rotation script added as i dont want this ball to roll around, what i do want however is the ball to face the direction its moving.
the script i’m using is as follows
var mySphere : GameObject;
function Update()
{
gameObject.transform.position = mySphere.transform.position;
transform.eulerAngles = Vector3(0, 0, 0);
}