Solved Projectile direction(?)

Discussion in 'Spigot Plugin Development' started by DeeCaaD, Jun 23, 2016.

Thread Status:
Not open for further replies.
  1. Question: Is there any way to check projectile direction from already shot projectile?

    I tried to do custom spread for projectile and shot projectile with custom spread and were able to get projectile direction. The problem is that I don't want to actually make new projectile to get its direction I want to get direction of already shot projectile. All I need is Yaw and Pitch.

    e.getProjectile().getLocation().get(Pitch/Yaw)(); it returns always 0.0

    - DeeCaaD
     
  2. Maybe with e.getProjectile().getLocation.getDirection() ?
     
  3. Solved, thanks finnbon.
     
Thread Status:
Not open for further replies.