Jump to content

getting left,right,front and behind the player


Recommended Posts


I want to get position left,right,front and behind of player(5 units distance) but i am not sure how to do it.

considering the x,y,z element position i can't just randomly get coordinates like x+5 or y-5 etc

x depends whether player is moving east/west

y depends whether player is moving north/south

z depends on height

so how can i correctly get left,right,front and behind the player?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...