Frictional Games Forum (read-only)

Full Version: How is collision calculated?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello there,

I'm really impressed with the collision detection and general physics in penumbra.
Could someone tell me how it's done, especially the part where I'm holding something with the left mouse button, and try to collide it with a wall.

I'm making my own game, and having some difficulty, when objects that I'm holding, can go through other objects.
This only happens when I'm holding them...

Thanks
(Actually, objects in Amnesia can still go through other objects if they're pushed hard enough, so you might need to improve on their code a bit.)
They use NewtonGameDynamics an add force and torque to the picked body, i think. The collision is handle by Newton Game Dynamics.