I'm looking for a way to move a dynamic object (teleport/transform) to a specific X coordinate so that its Y and Z coordinates would remain intact.
I know that I can target a specific axis by using Object>Transform and Translate>By and leaving the other values at zero. But this only helps me to move the object BY an amount. Using Translate>To and leaving the Y and Z at zero naturally sets them as 0. So how do I move the object TO a specific X coordinate without affecting Y and Z?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
You can teleport an object a Marker's X position through script:
Attach to the object, fill in its Inspector, and use either the Object: Send message or Object: Call event Action to trigger the component's Move function.