Need a solution for my project

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Need a solution for my project

Postby Ultime Alex » Tue Apr 26, 2011 3:48 pm

Hi all :D

I work on a fight game with Ogre3d 1.7, OgreNewt and Newton 2.24.
To detect collision when one character hits another, i use some CollisionPtr. Those CollisionPtr are moved with setPositionOrientation to follow the bones of skeletons.

After searching on forums, it seems that a collision can't be detected when positions and/or orientations are setted on each frame.
My own tests show that the problem is met for collisions between manually moved bodys only (manually moved bodys + newton moved bodys is detected)

Image

:arrow: How should i detect collisions for my project ? Do an alternative exist ?

Thanks for helping me :)
Ultime Alex
 

Re: Need a solution for my project

Postby PJani » Fri Apr 29, 2011 11:42 am

instead of setPositionOrientation use Kinematic Joint from JointLibrary
| i7-5930k@4.2Ghz, EVGA 980Ti FTW, 32GB RAM@3000 |
| Dell XPS 13 9370, i7-8550U, 16GB RAM |
| Ogre 1.7.4 | VC++ 9 | custom OgreNewt, Newton 300 |
| C/C++, C# |
User avatar
PJani
 
Posts: 448
Joined: Mon Feb 02, 2009 7:18 pm
Location: Slovenia


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests