- Home /
Question by
Neowbie · Oct 18, 2020 at 05:26 PM ·
gameobjectgameplaygame developmentgamedesign
Rotate cube on y axis when I move my character on side of the cube
Hellos guys, I'm a new to unity programming, how can I auto-rotate the cube to Y axis when the player goes down to the side of the cube. Like the cube has gravity and the ball will not fall even when the player goes to the side of the cube then I'm hoping that I when I move to the side of the cube the cube will auto rotate into Y axis making the player on top again. Advance thanks guys.
Sorry if I can't describe it well, I'm new to gamedev I watch yt videos to learn but it is still so hard for me, I want to make a game for me to support my studies please help me.
Comment