Ooops
March 06, 2021, 02:08:50 AM

Author Topic: Krischan Elite Radar  (Read 483 times)

Offline JBR

Krischan Elite Radar
« on: May 25, 2020, 01:29:47 AM »
Hi,

As written it does not handle larger objects, e.g. a 100 by 100 space station.

I tried to adjust the position of the 'blip' by subtracting the radius from the vector from centre to blip.

Works great straight on but if you fly past the sides of the space station the blip swerves towards the centre and then back out.

Anyone got an idea how to do this properly?

I'd post some code but it's getting a bit large!

Jim

Offline JBR

Re: Krischan Elite Radar
« Reply #1 on: May 28, 2020, 11:46:10 PM »
No worries got it sorted.
Jim

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal