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

Parenting single transform attribute with offset?

$
0
0
I want the parent/link the transforms of two objects in one axis only with an ability to add an offset. Similar to how you can set a Point Constraint to a single axis in Maya. I have tried parenting through scripts had no progress. It for a mini map camera that will operate two floors for a building. When the player moves up and down the floors, I what the camera to follow the player in the Y but not in the X and Z. This will allow me to position maps I have made in Photoshop in relevant position. so as the player moves up and down the different floor maps are reveled. Thanks

Viewing all articles
Browse latest Browse all 171066


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