Is there a way to to get the cords to the left or right of player?

Started by LazerUndefined on

Topic category: Advanced modding

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there a way to to get the cords to the left or right of player?

I am trying to make a sword slash effect that goes on like a beam, I know how to do it with pitch and yaw but I wonder if there is a easier way that you can just get the x,y,z cords to the left or right of your player?

You will need to useā€¦
Wed, 11/13/2024 - 18:12

You will need to use trigonometry to calculate what part of x and y you need to add to your coordinates based on the yaw angle