Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support


Post Reply 
How is collision calculated?
Author Message
ole92 Offline
Junior Member

Posts: 1
Joined: Apr 2012
Reputation: 0
Post: #1
How is collision calculated?

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
04-17-2012 05:15 PM
Find all posts by this user Quote this message in a reply
Cranky Old Man Offline
Posting Freak

Posts: 922
Joined: Apr 2012
Reputation: 37
Post: #2
RE: How is collision calculated?

(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.)

Noob scripting tutorial: From Noob to Pro

04-17-2012 05:17 PM
Find all posts by this user Quote this message in a reply
iPlayer Offline
Junior Member

Posts: 4
Joined: Apr 2012
Reputation: 0
Post: #3
RE: How is collision calculated?

They use NewtonGameDynamics an add force and torque to the picked body, i think. The collision is handle by Newton Game Dynamics.
04-17-2012 06:24 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)