Blockland Forums > Modification Help

Player rotation [SOVLED]

Pages: << < (2/2)

Axolotl:


--- Quote from: Aide33 on March 10, 2012, 09:50:21 AM ---Oh sorry kinda figured it looked weird.
It works but it goes almost instantaneously, is it possible to make it slower?

--- End quote ---
Use pitch(); and yaw();

These functions use finer control than $mvPitch and $mvYaw

Ipquarx:


--- Quote from: Axolotl on March 10, 2012, 06:09:39 PM ---These functions use finer control than $mvPitch and $mvYaw
--- End quote ---
No, they are not. $mvYaw and $mvPitch are the way to go.

yaw() and pitch() ADD to those variables.
It is relative.

But if you want to control speed:
$mvYawLeftSpeed
$mvYawRightSpeed
$mvPitchUpSpeed
$mvPitchDownSpeed

Port:


--- Quote from: Ipquarx on March 10, 2012, 07:55:27 PM ---yaw() and pitch() ADD to those variables.
It is relative.

--- End quote ---

In addition, any input to yaw() and pitch() is factored to the mouse sensitivity and mouse adjust amount.


--- Quote from: Ipquarx on March 10, 2012, 07:55:27 PM ---$mvYaw and $mvPitch are the way to go.

--- End quote ---


Aide33:

Thanks it works.

Pages: << < (2/2)

Go to full version