View Single Post
  #2  
Old 04-07-2007, 02:12 PM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
What I would do is just shoot the same projectile from the point of impact, so that it looks the same.

Also, I would suggest storing the angle on the player using a simple script:

PHP Code:
temp.angle int(arctan((playerx dx) / (playery dy)) * pi 180); 
Of course, That would store the angle of where the projectile is going and then you can use that to figure out what angle to shoot the new projectile.
__________________
What signature? I see no signature?
Reply With Quote