Rotating a model/animation 90 degrees

I need to do this within the QC of a model. The animations are twisted 90 degrees, so a walk animation forward appears as walking right ingame. I can’t go through every animation and rotate them because they also include position animation, which would screw up the model.

Any ideas?

I think this is what you are looking for:


$origin 0 0 0 90

The first 3 digits are for positioning the origin of the model (x y -z), the final is the amount of rotation in z.

More info here.

Nope, what he needs is putting the following behind every sequence:



rotate 90
rotate -90


So it will look like this in the .qc:


$sequence idle "idle" loop ACT_VM_IDLE 1 fps 8.00 rotate 90

Exactly what I was looking for! Thanks.