Detecting ground collision:
#2

https://sampforum.blast.hk/showthread.php?tid=120013
https://sampforum.blast.hk/showthread.php?tid=275492
https://sampforum.blast.hk/showthread.php?tid=273263

Choose one and use it to get Z.
I prefer the include (I really don't know why though) so:
pawn Код:
GetPointZPos(fX, fY, fZpos);
Then use fZpos instead of fZ.

Note: Your creating a dynamic object so you should use SetDynamicObjectPos
Note2: Use MoveDynamicObject instead as it would look more real (Just giving an idea)
Reply


Messages In This Thread
Detecting ground collision: - by Twizted - 10.09.2014, 20:55
Re: Detecting ground collision: - by Stinged - 10.09.2014, 21:19

Forum Jump:


Users browsing this thread: 2 Guest(s)