Author Topic: Making player lean forward/backward with code? - NEVER MIND  (Read 784 times)

This post may be deleted, I found out for myself eventually. It's Pitch(INT);
« Last Edit: February 23, 2016, 02:58:45 AM by BloxersPost »

pitch()/yaw() is not reliable because it changes depending on a user's mouse sensitivity settings

you should use
$mvYaw = value;
$mvPitch = value;

value can be anywhere from -3.141592 to 3.141592 and pi will turn the player 180 degrees as it is a radian measurement
these will always operate correctly regardless of the user's mouse sensitivity settings (although may be effected by lag)
« Last Edit: February 23, 2016, 12:53:16 PM by Swollow »

pitch()/yaw() is not reliable because it changes depending on a user's mouse sensitivity settings

you should use
$mvYaw = value;
$mvPitch = value;

value can be anywhere from -3.141592 to 3.141592 and pi will turn the player 180 degrees as it is a radian measurement
these will always operate correctly regardless of the user's mouse sensitivity settings (although may be effected by lag)

Thanks