Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Moving a parent when child moves

$
0
0
I have these rooms that are modular and linked via "exits" (empty gameObjects with their positive x-axis aligned in the direction that the room exits and begins a new one.

Starting with an initial room, I am doing a breadth first expansion. I've got that part working. It instantiates new objects up to the maximum number of rooms specified.

However, my next step is to align the exits of one room with the exits of the new room. The "exits" are children of the room gameObject, and I want the...

Moving a parent when child moves

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



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