Jump to content

Compass bearing in degrees to object...


Sandra Absent
 Share

You are about to reply to a thread that has been inactive for 1287 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I need to figure out how to get a compass bearing in degrees to a target.

All I have so far is...

llAtan2(globalPosition.x - waypoint.x, globalPosition.y - waypoint.y)

so how do I then translate to say in this example it would be probably somewhere around 340-345?

image.png.80a42cb7be633e715d3ae6d5cd6b0951.png

Edited by Sandra Absent
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 1287 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...