Zero23

14-01-2009 22:55:42

Hi

I needed the last version from newton 2.0 and so I downloaded the latest OgreNewt version from walaber and modified them to work with Beta 18 from Newton.

And now I want to share my work with you.

- I have created a class CollisionSerializer, with them you can serialize each Collision not onyl TreeCollision

- added CollisionUpdate() to OgreNewt::World, this function can be used if you want to use OgreNewt only for Collision detection

- added enum CollisionPrimitive, this enum has all primitives and with the function getCollisionPrimitiveType() from OgreNewt::Collision you can get the primitivetype

- added setRayCastCallbackactive() to TreeCollision or use the bool in the Constructor, this can be used to enable the RayCastCallback and you get each intersection with the TreeCollision with a RayCast

- and some little other fixes

http://rapidshare.com/files/190668809/ogrenewt.rar

Here you can download this version. I hope I can help you with this.

EDIT:

- little Fix in CollisionSerializer

2 EDIT:

- this version works with the new public Beta from Newton, 28.1.2008

- some fixes with the getPrimitiveType() from OgreNewt::Collision

- Body has 2 new functions getCollisionPrimitiveType() and getNewtonCollision()

- some fixes for teh function TreeCollision::setRayCastCallbackactive()

Zero

I needed the last version from newton 2.0 and so I downloaded the latest OgreNewt version from walaber and modified them to work with Beta 18 from Newton.

And now I want to share my work with you.

- I have created a class CollisionSerializer, with them you can serialize each Collision not onyl TreeCollision

- added CollisionUpdate() to OgreNewt::World, this function can be used if you want to use OgreNewt only for Collision detection

- added enum CollisionPrimitive, this enum has all primitives and with the function getCollisionPrimitiveType() from OgreNewt::Collision you can get the primitivetype

- added setRayCastCallbackactive() to TreeCollision or use the bool in the Constructor, this can be used to enable the RayCastCallback and you get each intersection with the TreeCollision with a RayCast

- and some little other fixes

http://rapidshare.com/files/190668809/ogrenewt.rar

Here you can download this version. I hope I can help you with this.

EDIT:

- little Fix in CollisionSerializer

2 EDIT:

- this version works with the new public Beta from Newton, 28.1.2008

- some fixes with the getPrimitiveType() from OgreNewt::Collision

- Body has 2 new functions getCollisionPrimitiveType() and getNewtonCollision()

- some fixes for teh function TreeCollision::setRayCastCallbackactive()

Zero