Velocity
#1

Can anyone explain why velocity applied to a player, raises them a few inches from the ground..yet velocity applied to a vehicle sends the vehicle miles into the sky?

Код:
SetPlayerVelocity(forplayerid, 0.0, 0.0, 20.0);

SetVehicleVelocity(GetPlayerVehicleID(forplayerid), 0.0, 0.0, 20.0);
I want them to both raise to similar heights.
Reply
#2

I cant explain it, I think its the highest velocity a player can go in z+ direction, its something around the speed if you jump

More or less all vZ values over ~0.5 (dont know the exact value but it isnt much) are useless for SetPlayerVelocity

You need to use SetPlayerPos

If someone knows a fix it would impore all airbreak systems
Reply
#3

Ah ok that makes sense now, ty for explaining Nero.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)