Development Assistance Need help with locations/vectors

Discussion in 'Plugin Help/Development/Requests' started by Tizzu1999, Apr 27, 2016.

Thread Status:
Not open for further replies.
  1. So i tried to make a 3 Blocks wide and 10 blocks long "beam" ...
    However on my first try i though using xyz coords would work until i faced the problem when a players yaw looks to a position thats beteween North or West (NW) .
    So my prolem now is how do i get all players between the player position wide+1 and length+11 and wide-1 and lenght + 1 and still be able to get each location between these coords so i can set particles too ?

    just a little model: P = Player ; X = location inside the area i wan to check / set particles to
    X X X X X X X X X
    P X X X X X X X X X
    X X X X X X X X X

    or like this if he faces NW

    X X X
    X X X
    X X X
    P X
     
Thread Status:
Not open for further replies.

Share This Page