Bully-Board
Bully Modding Section => Modding Questions/Help => Topic started by: Ming on January 21, 2022, 07:05:40 AM
-
What is the max value of PedGetHeading ?
-
What is the max value of PedGetHeading ?
PedGetHeading returns a number in radian unit of angle measurement, so it must be -π (-3.14) and π (3.14).
-
What is the max value of PedGetHeading ?
PedGetHeading returns a number in radian unit of angle measurement, so it must be -π (-3.14) and π (3.14).
If Ped face 180?, and it will return π, right?
-
Yep.
-
What is the max value of PedGetHeading ?
PedGetHeading returns a number in radian unit of angle measurement, so it must be -π (-3.14) and π (3.14).
Two minor corrections according to my recent found.
Min: -3.23 (-π - 0.09)
Max: 3.05 (π - 0.09)
What is the max value of PedGetHeading ?
PedGetHeading returns a number in radian unit of angle measurement, so it must be -π (-3.14) and π (3.14).
If Ped face 180?, and it will return π, right?
If you don't need very precise numbers, you can just do PedGetHeading(gPlayer) * 57.3 to turn radians into degrees.
-
math.deg(r)
-
math.deg(r)
Yep, how could i forget that we have math.deg around lol.
-
What is the max value of PedGetHeading ?
PedGetHeading returns a number in radian unit of angle measurement, so it must be -π (-3.14) and π (3.14).
Two minor corrections according to my recent found.
Min: -3.23 (-π - 0.09)
Max: 3.05 (π - 0.09)
What is the max value of PedGetHeading ?
PedGetHeading returns a number in radian unit of angle measurement, so it must be -π (-3.14) and π (3.14).
If Ped face 180?, and it will return π, right?
If you don't need very precise numbers, you can just do PedGetHeading(gPlayer) * 57.3 to turn radians into degrees.
Wow!!! It is useful to me
-
What is the max value of PedGetHeading ?
PedGetHeading returns a number in radian unit of angle measurement, so it must be -π (-3.14) and π (3.14).
Wait, π and -π, so it is sine function?