I need help for CollisionResponse

Please don't post Bullet support questions here, use the above forums instead.
Post Reply
ljb
Posts: 21
Joined: Fri Oct 14, 2011 6:18 am

I need help for CollisionResponse

Post by ljb »

:?
My english is poor,My question :How many methods is there in DoCollisionResponse()[Position Based or Velocity Based or something else]
In RigidBody dynamics,we can use quadratic programming to get the nerest point in rigidbody and quadratic programming equal in value to LCP. I get this point and I can use numerical method to get motion of rigidbody.The C++ Sample Code BouncingTetrahedra In Game physics[By David Eberly] as
OnIdle( ) // BouncingTetrahedra.cpp
{
PhysicsTick(); // BouncingTetrahedra.cpp,
{
DoCollisionDetection() // BouncingTetrahedra.cpp
{
LCPPolyDist3() // Wm5LCPolyDist.cpp
{
GenerateHalfSpaceDescription() //
{
ComputeHalfspaces()
}
ProcessLoop() // Wm5LCPolyDist.cpp
{
LCPSolver ( ); // Wm5LPCSolver.cpp
{
Solve( ); //
}
}
}
Reposition() //
}
DoCollisionResponse()
{
ComputePreimpulseVelocity( ) //
ComputeImpulseMagnitude( ) //
DoImpulse( ) //
}
}
}

:?
Post Reply