D
Deleted member 36445
Guest
Detector de Gamepad
filipeteixeira.com.br
This idea is a experimental way of controlling twisty puzzle faces using analog sticks.
The algorithm is simple:
Initial angle select face (U,R,L,D are directions, top-right is B and bottom-left is F)
end angle define total rotation in angles, normalized in multiples of 90º
Code:
+-------+
/| /|
/ | / |
+-------+ |
| +----|--+
| / | /
|/ |/
+-------+
If you ever played EA Skate this shouldn't be hard to understand
Please submit your feedback
