[DiscordArchive] My question is, is my logic right using M_PI_2 instead of M_PI to get only a 180° instead of 360°?
[DiscordArchive] My question is, is my logic right using M_PI_2 instead of M_PI to get only a 180° instead of 360°?
Archived author: Deleted User • Posted: 2023-05-30T18:14:35.674000+00:00
Original source
My question is, is my logic right using M_PI_2 instead of M_PI to get only a 180° instead of 360°?
Archived author: M'Dic • Posted: 2023-05-30T18:15:05.041000+00:00
Original source
Depends. Need to see the script
Archived author: M'Dic • Posted: 2023-05-30T18:15:18.355000+00:00
Original source
Cant really assume without seeing the whole calculation
Archived author: ModoX • Posted: 2023-05-30T18:15:22.695000+00:00
Original source
pi radians is 180 in degrees
Archived author: ModoX • Posted: 2023-05-30T18:15:48.300000+00:00
Original source
2*pi is 360 degrees
Archived author: M'Dic • Posted: 2023-05-30T18:16:57.337000+00:00
Original source
Well if he is doing it at chase movement. It could be 180 degrees at the angle point of contact with the player which would look like 360 degree encirclement
Archived author: M'Dic • Posted: 2023-05-30T18:17:09.230000+00:00
Original source
If u get mobbed in all sides
Archived author: ModoX • Posted: 2023-05-30T18:17:51.953000+00:00
Original source
im just talking about raw math, thats use case independent
Archived author: M'Dic • Posted: 2023-05-30T18:18:15.171000+00:00
Original source
Ah gotcha gotcha
Archived author: ModoX • Posted: 2023-05-30T18:18:45.312000+00:00
Original source
pi/2 (aka M_PI_2 if you do it in the same way as we implemented M_PI_4) would be 90 degrees <@456226577798135808>