• Rotate model without lua
    5 replies, posted
I'm attempting to change a model's spawn rotation without using lua. Is there a setting in the model's .qc file to achieve this or will the whole model have to be recompiled?
why are you even asking in the Lua section, if you're not going to use Lua?
Just in case you were wondering for future reference, this can be accomplished using the $origin command's 4th argument. $origin 0 0 0 90 // Rotate by 90 degrees
Thanks for the answer
No no no! Just read what's the name of the parameter, that's the origin, not the angle! I guess you've exported a model in blender or maya and it fucked up the angle by changing the axis, in this case you've compiled with maya, use this $upaxis
Actually, I've used $origin before for rotating. So it does work for that. It rotates it around the up axis. But yeah, if he has the up axis wrong then yeah he'll have to use $upaxis
Sorry, you need to Log In to post a reply to this thread.