Impact detection

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
Stevevolution
Posts: 6
Joined: 03.08.2010
With us: 14 years 3 months

Impact detection

Post #1by Stevevolution » 28.10.2010, 18:53

Ok. My knowledge of C++ is pretty basic and I am still learning.
Would it be possible to detect impact with or landing on planet surfaces? Currently, you just fly through a planet if it is in the way.
I realise there would be no data for the 'surface' of the planet, but I just wondered if anyone had tried it.
Thanks

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Re: Impact detection

Post #2by selden » 28.10.2010, 20:00

Celestia does not do collision detection. I suspect it's unlikely to be added to the code base. However, you might be able to implement a LUA module to do the equivalent, depending on what you're trying to accomplish.
Selden


Return to “Development”