YesNoOk
avatar

How to make projectile follow P2? (Read 1093 times)

Started by Redben, November 23, 2020, 05:29:20 am
Share this topic:
How to make projectile follow P2?
New #1  November 23, 2020, 05:29:20 am
  • avatar
  • **
    • Morocco
So basically some players fly around a lot, so I wanna know how to make certain projectiles to follow them. Not 100% of course but simply going in the P2 direction. Kinda similar to Gilgamesh' projectiles in this video:
https://www.youtube.com/watch?v=7VVqZ086ABU
I looked into the tutorials but couldn't figure out what variable I should look into, so thanks in advance.
Last Edit: November 26, 2020, 04:00:50 pm by Redben
Re: How to make projectile follow P2?
#2  November 25, 2020, 02:01:21 pm
  • ******
  • Hedgehog Whisperer
  • Red Bull addict
    • Spain
    • xgargoyle.mgbr.net
you need to create a helper for the projectile, and then the helper will keep adjusting its velocities based on P2 current position
XGargoyle: Battle posing since 1979
http://xgargoyle.mgbr.net
http://www.pandorabots.com/pandora/talk?botid=e71c0d43fe35093a  <-- Please click that link
http://paypal.me/XGargoyle  <-- Donations welcome!