1
Modding Questions/Help / How to get the area in front of a ped?
« on: August 24, 2022, 10:51:27 AM »
I want to create a hitbox for an animation that doesn't have one, probably I would need to use PedIsPedInBox() or PedInRectangle(). However, depending on where the ped is facing, these functions will return an undesired area (behind the ped or sides).
So, how can I do that? how to detect a small area in front of a ped?
So, how can I do that? how to detect a small area in front of a ped?