Quantcast
Channel: Questions in topic: "level-design"
Viewing all articles
Browse latest Browse all 205

Multiple Floors: how to hide/show a floor when a character is climbing/descending ?

$
0
0
Hi, I'm new to unity, and I'm still trying to figure out the good way to do things. After a "quick search" I didn't find the answer. Have a check at this picture at first to figureout. ![alt text][1] I'm trying to make a game with a top view camera fixed in term of angle with a position always relative to the character. I've multiple floor and I want my character to descend / climb those floors. When descending I want the top floor to hide and the bottom floor to display and vice versa. Ex: - My character is at 1 and go to 2, so at 2 the level -1 should display and level 0 floor should hide. - My character is at 3 and go to 2, so at 2 the level 0 floor should display and level -1 floor should hide. Do you have any recommendation on how to implement that efficiently and with a good reusable pattern ? Thanks, Ben [1]: /storage/temp/178529-2-floors.png

Viewing all articles
Browse latest Browse all 205

Trending Articles



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