Jump to content
  • Advertisement
Sign in to follow this  
MARS_999

Radar screen

This topic is 2760 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am wondering how others have implemented a radar screen?

I have something working, but when I rotate my camera the points in the radar screen don't rotate to match the camera's rotation. They rotate very fast almost in a complete 360 with minimal mouse movements.

So I am wondering is there a scaling issue?

Thanks!

Share this post


Link to post
Share on other sites
Advertisement
It is a bit hard to figure out what the problem is with so little information, but I'll give it a shot. Make sure your not mixing degrees and radians. Most math on a computer uses radians. If you are plugging in degrees into a radians formula, you will get about 100 times the intended rotation.

Share this post


Link to post
Share on other sites
Thanks for the reply, but I looked and the values are in radians...

I figured it out, I needed to keep the original position values and not overwrite them.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!