Hey, love Fauxton and I'm just digging into it, but when I try to rotate the test cube (or other test objects) on any axis, it appears to flatten out of existence at 90 and 270 degrees. What am I doing wrong?
Don't know if it helps, but I'm running version 2.3.7.476, and here's my code:
y_rotation = y_rotation + 0.5; if y_rotation > 359{ y_rotation = 0; } fauxton_model_set(model, x, y, z_test, x_rotation, y_rotation, z_rotation, 1, 1, 1);
Here's pics of the cube looking normal and the cube during the squish.
Anything I can do to test, let me know. Fauxton has opened a door into a new project for me and I really want it to work. :-)
Interesting! I remember testing the x / y rotations and they worked initially, but that was v1, so maybe I've got some code weird in there. IDK why it would mess with it though since essentially all I am doing is setting a matrix for the rotations. Hmm... But yeah, sorry I can't help more! I will have to look into it when I have time. Fauxton is mostly un-supported for now (I've been very busy with other projects). It's best used as a starting block that you can then expand from. When I get some time I will try to look into it and see if I can pinpoint the issue. X/Y rotations with sprite stacking are less than optimal due to the fact you will see 'gaps' when rotated at certain angles. I highly recommend Stack3D as an alternative if you cannot get it to work, as I know 100% he has solved a lot of the issues I have not been able to. I also highly recommend this series on 3D in gamemaker if you want to learn a better understanding of how 3D in-game maker works. :)