rotating a voxel on z axis?

1213brett

Member
Hi is there a way to rotate a voxel sprite on its z axis? I have a spaceship and I want it to turn to one side as it turns. I keep seeing things about rotating vectors. when I research rotating on z axis in game maker. And I don't think that's what to do but I may be wrong.
 

Joe Ellis

Member
well rotating a sprite in a 2d game is done on the z axis, cus the axis is the line which goes through the rotation, like the center pole, perpendicular,
but its hard to tell exactly what you mean, can you explain further?
 

1213brett

Member
yes thank you. I have a ship that rotates when I hit left or right. that's grate. but I also want it to turn on its side a little as I hit the key. To give it more of a turning effect. like how a plane leans to one side when it turns. The sprite was made in voxel magic. so its sprites stacked on top of another. creating a 3d like effect. I guess I mean the y axis at least think Im right in saying that now sorry. the ship is laying flat like your looking down on it.
 
Last edited:
Top