Skip to content

Cube Alignment

Latest
Compare
Choose a tag to compare
@been-jamming been-jamming released this 06 Jul 05:33

This version adds functionality for the Space key, which will align the cube's current orientation to that of the camera. It takes face which faces the most forward and makes it face forward, then takes the face which faces the most upwards and makes it face upwards. In addition, rotation now happens in rational multiples of pi, which means that the cube stays aligned when rotating horizontally or vertically.