In my code I need to set the linear factor for velocity to 0 (sometimes). For example,
game->rigidBody->setLinearFactor(btVector3(0, 0, 0)); When this is done, collision detection continues to work, however, collision response fails to work. Essentially running as if there were not colliders at all. I think this is because it applies a velocity to solve the constraints.
Is there an alternative to
setLinearFactor or is there another Constraint Solver which does not rely on velocity?
I am using the default