-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/14/2010 06:20 PM, Sanat Talmaki wrote:
> Hi,
> 
> I am interested in adding Collision Detection to my current OSG application. 
> And after going through a number of threads on this topic, the common theme 
> was use Delta 3D.
> 
> So my question is: 
> Can I use my current OSG code as is, in Delta 3D and then just add other 
> features (like collision detection) to the app ? Or does my osg code need to 
> change to allow me to use it in Delta3D ?
> 
> Thank You.
> 

Hello,

Pretty much no - you need to rewrite your application using Delta's
tools, otherwise Delta will not know about your code. Delta is not a
library like OSG, it is a whole game engine.

However, as Tony said, you do not need to use Delta for collision
detection. osgBullet is one possibility, on the wiki there are examples
of other engines as well (ODE, Havoc, PhysX, etc):
http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials (look
at the bottom, under External examples).

In general, you need to define the physics body, usually by setting up
the mass or some matrices and then the collision body - bounding volume
of your mesh (inaccurate but fast) or the mesh itself (accurate but
slow). The update of the engine data is typically done by a callback
attached to your OSG node somewhere.

Regards,

Jan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org/

iD8DBQFMZ+3Jn11XseNj94gRAvOmAKDx/s0jLiP/k2Z5NfrtjI/+fIjvmgCg5iFK
aP7YLCogOyigQSna9PTopRg=
=ApJ5
-----END PGP SIGNATURE-----
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to