Postion of a point behind a unit

envenger

Active Member
Reaction score
3
How to find the location of a point with a distance "d" form another unit.

The point should be behind the back of the unit(opposite of the direction the unit is facing)

I am giving an image to make it more clear
 

Attachments

  • untitled.JPG
    untitled.JPG
    9.3 KB · Views: 173

Happy

Well-Known Member
Reaction score
71
use point with polar offset...

position of "red point unit" with polar offset....and then towards (facing of "red point unit" +180) in distance d
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
^ Or polar offset with facing of the unit and distance d * -1
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
Reaction score
612
Trigger:
  • Set TempPoint = (Position of TempUnit)
    • Set TempPoint2 = (TempPoint offset by Distance towards ((Facing of TempUnit) + 180.00) degrees)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top