Need Advice for Rotating Stage
I would like to have a rotating square stage for my game. Basically, what this includes, would be a complete level built on the inside of a square. Whenever the character walks to the edge wall on the left or right sides, I want the entire stage and everything in it to change 90 degrees with the stage. The issue is that I want the player to temporarily follow the stage and after the stage finishes rotating, to THEN resume gravity where the player will fall to the new floor.
My issue is having the player turn with the stage along with any floors, walls turn with the stage as well. Any ideas?
Re: Need Advice for Rotating Stage
Store the players distance from the stage's rotation pivot. Then set the player's position based on that distance and the stage's angle.
But if you plan to do that with a lot of active objects as well, expect very low frame rates.
Re: Need Advice for Rotating Stage
Not many active objects actually. I expect maybe 3-4 animated actives per stage with a few stationary actives to kill the player.
The goal of the game is to create puzzles inside this revolving square, but allow the player to walk to the left or the right to rotate the square to continue with the puzzle.
Re: Need Advice for Rotating Stage
I sort of get what you are saying. First, how would I tell the player to rotate with the stage once I get the distance between the player and the pivot? I can't just randomly place the player's hotspot dead center on the cube.