Posts: 33
Threads: 7
Joined: Jan 2016
Reputation:
0
Danke Skimmer and Dayrion, you helped me alot, thank you again brothers!!
SOLVED!
Posts: 349
Threads: 38
Joined: Jul 2015
Reputation:
0
A small correction for the answers posted above, the height should be a Float value. If it's an integer, the compiler will convert it into a float value which may cause a slight of difference while compiling. (From what I read)
Posts: 966
Threads: 5
Joined: Jul 2011
Reputation:
0
From a long long time ago I remember that if you want to "slap" the vehicle higher into the air and have it continue moving in the direction that it was moving before, you should save the vehicle's velocity before calling SetVehiclePos and re-apply it after calling SetVehiclePos.
The functions for retrieving and setting the velocity of a vehicle are:
GetVehicleVelocity
SetVehicleVelocity
Posts: 6,242
Threads: 8
Joined: Jun 2008
Yea, I'd go for the velocity portion, imagine their faces when they get thrown up a few feet in one motion rather than being "put" up a few feet...
Not saying these portions of code aren't good, it's just all about aesthetics for me.