Blockland Forums > Modification Help
Player rotation [SOVLED]
(1/2) > >>
Aide33:
Is there a function to make the player do a full rotation?
Brian Smithers:
Serversided you can do this
%player.setTransform(%player.getPosition SPC "rotx roty rotz");
Clientsided you can do this
$mvPitch/Yaw = mDegToRad("Degrees");
Aide33:

--- Quote from: Brian Smithers on March 10, 2012, 09:38:27 AM ---$mvPitch/Yaw = mDegToRad("Degrees");

--- End quote ---
"Syntax Error in input"

EDIT: I also want him to do a slow rotation like when you type in turnleft(1);
Chrono:
Because you're not supposed to actually put the slash in.
Did you really want him to type $mvPitch and $mvYaw separately because you can't understand a slash?
Aide33:

--- Quote from: Chrono on March 10, 2012, 09:48:56 AM ---Because you're not supposed to actually put the slash in.
Did you really want him to type $mvPitch and $mvYaw separately because you can't understand a slash?

--- End quote ---
Oh sorry kinda figured it looked weird.
It works but it goes almost instantaneously, is it possible to make it slower?
Navigation
Message Index
Next page

Go to full version