Page 1 of 1

How do I rotate a mapmodel on its Y-axis?

Posted: January 25th, 2010, 6:17 pm
by Creatorrookie
How do I rotate a mapmodel on its Y-axis?
I already know how to rotate a mapmodel on its X-axis.

Re: How do I rotate a mapmodel on its Y-axis?

Posted: January 26th, 2010, 11:45 am
by offtools
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 S
Scale the model's size to be S percent of its default size.

Code: Select all

mdltrans X Y Z
Translate the model's center by (X, Y, Z), where X/Y/Z are in model units (may use floating point).

Code: Select all

mdlyaw Y
Offsets the model's yaw by Y degrees. point).

Code: Select all

mdlpitch P
Offsets the model's pitch by P degrees.

Code: Select all

mdlspin Y
Simple 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.