[C#] How to apply force on peds/props at angle?

Recommended Posts

nyanpire
1

nyanpire
1

I've been trying to figure out how to apply force on ped/props at an angle for the past couple of days with no luck, I can guess its obvious and has something to do with quaternion or force amount on Y & Z axis but just can't figure it out. Help me,please..

The get_cam_rot native gets the rotation of an arbitrary camera specified by an ID. You have not used this native correctly so it would probably always return some camera elsewhere in the world, or a null