Question Tutorial for collision?

XSSA

New member
Joined
Apr 9, 2011
Messages
67
Reaction score
0
Points
0
I want to add collision to somethings that will be a part of addons. I'm looking for the Collision SDk.
 
Last edited:

Tommy

Well-known member
Joined
Aug 14, 2008
Messages
2,019
Reaction score
86
Points
48
Location
Here and now
Orbiter doesn't have any sort of collision model (except perhaps docking). You would need to come up with your own method of collision detection, and since nobody has come up with a good working method yet there are no tutorials.
 

N_Molson

Addon Developer
Addon Developer
Donator
Joined
Mar 5, 2010
Messages
9,286
Reaction score
3,253
Points
203
Location
Toulouse
Well, if you have some basics in making dll, you can do something rough like "if any vessel come within X meters from another any vessel (except self), then make the 2 vessels vanish". That would be my best guess. The problem is that Orbiter will have to scan constantly for all the vessels in the simulation. No problem when there is 2 or 3 vessels, but troublesome when there are dozens of them (and you quickly get there with space stations made from modules).
 

Artlav

Aperiodic traveller
Addon Developer
Beta Tester
Joined
Jan 7, 2008
Messages
5,790
Reaction score
780
Points
203
Location
Earth
Website
orbides.org
Preferred Pronouns
she/her
Collision SDK was never quite finished, there are several disjointed versions, for NASSP and for Orulex, but no single, coherent version.

Ground-tuned version is there:
http://orbides.1gb.ru/collision_ml_090613.zip

Orulex-tuned version is here:
[ame="http://www.orbithangar.com/searchid.php?ID=4433"]Orulex_Collisions_UCGO[/ame]

Vessel-vessel Meshland 2 is there:
http://orbides.1gb.ru/orbf.meshland-090123.zip

Meshland 2 can give you some nice collisions, but it wasn't updated in ages and it's SDK is incomplete and sparsely documented (and lost somewhere on OH or OF).
[ame]http://www.youtube.com/watch?v=1gZN-5hl428[/ame]

Another (useless) piece in the series with newer vessel-vessel engine is the Asteroids game:
[ame="http://www.orbithangar.com/searchid.php?ID=4411"]Asteroids! the game[/ame]

And don't forget that i'm not the only one who tries:
http://www.orbiter-forum.com/showthread.php?t=22099
 
Last edited:
Top