Raised This Month: $ Target: $400
 0% 

ent infront of another +5 up


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
avril-lavigne
Banned
Join Date: Apr 2009
Old 11-10-2014 , 10:28   ent infront of another +5 up
Reply With Quote #1

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(entpev_anglesangle)
set_pev(entpev_fixangle1)      // 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(ballpev_velocitynew_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
avril-lavigne is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode