Bully-Board

Bully Modding Section => Modding Questions/Help => Topic started by: Ming on August 24, 2021, 01:40:20 AM

Title: How to use trigonometric function in the mod
Post by: Ming on August 24, 2021, 01:40:20 AM
Assuming that the direction the player faces extends a distance of 5, find the vector of this diagonal line to the y-axis direction

If math.sin(PedGetHeading(gPlayer)) =  b / 5

then b = the vector of y-axis direction
.
.
.
.
Am I right :hmm:🤔