How do I rotate a mapmodel on its Y-axis?
I already know how to rotate a mapmodel on its X-axis.
Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them. If you have any questions please e-mail me through the Platinum Arts website.
How do I rotate a mapmodel on its Y-axis?
- Creatorrookie
- Member

- Posts: 66
- Joined: September 22nd, 2009, 8:35 pm
- Name: John
How do I rotate a mapmodel on its Y-axis?
The rookie in sandbox... 
Re: How do I rotate a mapmodel on its Y-axis?
the cube2 engine does not support this.
sorry, i was wrong. here are the commands for setting pitch, yaw, scale and spin of an model:
Code: Select all
mdlscale SScale the model's size to be S percent of its default size.
Code: Select all
mdltrans X Y ZTranslate the model's center by (X, Y, Z), where X/Y/Z are in model units (may use floating point).
Code: Select all
mdlyaw YOffsets the model's yaw by Y degrees. point).
Code: Select all
mdlpitch POffsets the model's pitch by P degrees.
Code: Select all
mdlspin YSimple spin animation that yaws the model by Y degrees per second.
these commands are to be set in the model cfg file. sorry for the confusion.
offtools.
