How do I make one object copy another object's orientation?
I see the angle sensor has an orientation output, but I don't know how to make use of it. I want the target object to orient itself according to an XYZ input (regardless of its original orientation), so something like a positional rotator.
-
Try the 'Scene Space Direction' input on a Look At Rotator?
Caveat: just an idea, can't test it right now. -
Screen Space Direction is definitely what I need, but I can't get it to properly match the target object's rotation. I tried screen space rotation from a tag and the orientation outputs from angle and rotation sensors and none of them seem to work.
-
*Scene space, I mean.
-
I desperately need the answer to this so I can finish my portal gun
-
I hear the laser pointer reads the angle of surfaces it hits. Any use?
-
Hey,
Another way to copy an object's rotation is to use the teleporter.
Stick a Tag to the object that you want to match. Tweak the Tag, and give it a name by clicking the word "Tag" at the top of the gadget.
Then stick a Teleporter to the object that you want to rotate. Tweak the Teleporter, and in the "Tag to find" (can't remember the exact name), enter the name of the Tag you just placed. Then, disable the "Match Position" setting, and enable the "Match Rotation" setting that's just below it.
Hope that helps :)
- Liam -
Nice, that works perfectly, Liam! Thank you guys very much.
Please sign in to leave a comment.