Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

mirror object based on parent transform

$
0
0
I have two spheres, children of an empty parent object. I am moving one object and want the other to follow the movement in reverse. This is working based on world coordinate - how to I make it work based on the parent objects coordinates? function moveOtherHandle() { newPosition = transform.position; otherHandle.position = -newPosition; }

Viewing all articles
Browse latest Browse all 171066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>