Substitute rigid body simulation?

sara
Posts: 39
Joined: Thu Mar 24, 2011 3:50 pm

Substitute rigid body simulation?

Post by sara »

Hi,

I want to create my own rigid body simulation algorithm. Is there a way to replace the btrigidbody integration with mine, but still maintaining the rest of the simulation (collision detection, contact response, etc) ?

Thanks!
sara
Posts: 39
Joined: Thu Mar 24, 2011 3:50 pm

Re: Substitute rigid body simulation?

Post by sara »

Anyone?

I just want to compare different integration algorithms (explicit euler, implicit, runge-kutta, etc)
sara
Posts: 39
Joined: Thu Mar 24, 2011 3:50 pm

Re: Substitute rigid body simulation?

Post by sara »

I though of inheriting from btRigidBody, but the problem is that the methods of btRigidBody are not virtual, so my methods are not being called.

Any suggestions?