Cube movement
I am quite new to unity, so I'm working on a few things here and there, trying to learn. Currently I'm stuck on a 3d project, that requires cube movement that makes sense (not just sliding across the ground). I want to make the cube flip on the other side whenever an arrow is pressed, for example if I press the right arrow, the cube moves and flips on the other side. I went through a ton of tutorials but none of them explained how to properly do it. As far as my knowledge goes, my current moving code which is just sliding won't really work with flipping. I'm not that good on creating the code myself nor do I know where to find an example (if there even is one lol). How can I go about doing this fairly difficult script?
Comment