Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

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.  :-)

Yeah, i'm not exactly sure why its doing that. It could be something with the matrix functions GM has. I've never run into the issue. Does it rotate properly in the demo? Also are you scaling it by any chance?

(+1)

I haven't tried the demo yet, but I will to see if it's different. No change in scaling.

Yeah in the demo I have a cube that rotates. But only around the z-axis. I'm not sure why it would be having issues with rotations without scaling though. 

(+1)

So I tested the demo and it works fine, and when I set mine to the Z axis, it also works fine. Both both X and Y have this problem. Is there another way I should be rotating them?

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. :)