Checking The Distance In front of a player

Started by Bloxspace123451 on

Topic category: Advanced modding

Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Checking The Distance In front of a player

Ok, this one may require some more advanced coding, but what Im trying to do is to make a system where when I click a button or something, it will print the distance from the player's position to the block I'm looking at, kinda like wall-climbing for spider-man or something, if anyone knows how I can use code in order to check a player's forward distance then I would really appreciate the help.

This is not possible yet,…
Thu, 08/22/2019 - 17:54

This is not possible yet, but we plan to introduce procedure get coordinates of the block player is looking at and then this will be totally doable with some simple math.