Velocity_by_aim is nice for players
but I have entity punching the ball I want to lift it up a little before kick
PHP Code:
set_pev(ent, pev_angles, angle)
set_pev(ent, pev_fixangle, 1) // entity is looking to my direction
static Float:new_velo[3]
angle_vector(angle,1,new_velo)
new_velo[1] *= 100.0
new_velo[0] *= 100.0 // push another entity in that direction
set_pev(ball, pev_velocity, new_velo )
I need to set ball origin +5 up and + 30 forward according to angle
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc