Shoot particles from where player is facing.

Discussion in 'Programming' started by ProJoosh, May 26, 2015.

  1. How would i get the direction that the player is facing and shoot particles e.g. fire particles like a flamethrower 3 blocks infront of me,
     
  2. Code (Java):
    getPlayer().getLocation().getDirection()
    returns with an Vector
     
    • Agree Agree x 1