Blockland Forums > Modification Help
Rotation
(1/2) > >>
Pew446:
Can somebody give me a small tutorial on rotation? (rotation = "0 0 0 0";)

I don't even know what the last 0 is...
Headcrab Zombie:
I don't know, but use these

http://forum.blockland.us/index.php?topic=27230.0
spartan101:
...
otto-san:

--- Quote from: Headcrab Zombie on August 11, 2010, 05:21:33 PM ---I don't know, but use these

http://forum.blockland.us/index.php?topic=27230.0

--- End quote ---
Helpful. But not helpful enough.


--- Code: ---function serverCmdRotMe(%client, %x, %y, %z)
{
  %obj = %client.player;
  %position = %obj.position;

  %obj.setTransform(%position SPC eulerToAxis(%x SPC %y SPC %z));
}
--- End code ---
Pew446:
Bah, this is confusing. I'll just rotate the model in milkshape. ;-;
Navigation
Message Index
Next page

Go to full version