Hi Everyone,
I hope some body can help me with this scripting issue. I have an object that rotates 90 degrees right or left as the player intersects a trigger either side. I'm implementing a feature that the object will also move forwards and backward with another 2 trigger intersections at the front and back of the object. I have been using object:MoveTo(object:GetWorldPosition() + Vector3.New(0,250,0), 1). works fine until the rotation and then walks sideways. I think i need to use Vector3.FORWARD (250) to get the object to move in its current facing direction. I cant find an code example as reference. Any thoughts or help would be appreciated...