Hello!
I have been trying to move a sphere relative to its own axes and not the real x and y axes. For example, when it rotates, I want it to move what the camera sees as forward and not just increase its position on the x or y axis. I do not have any code that has worked at all. I am very new to this and would appreciate a thorough explanation!
thanks
I’m not sure how you are moving your object. Try his
YourObjectTOMove.transform.Translate (Vector3.forward*speed, Space.Self);
public float speed;
void Update()
{
transform.Translate (transform.forward * speed * Time.deltaTime);
}