Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


How is collision calculated?
ole92 Offline
Junior Member

Posts: 1
Threads: 1
Joined: Apr 2012
Reputation: 0
#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
Cranky Old Man Offline
Posting Freak

Posts: 986
Threads: 20
Joined: Apr 2012
Reputation: 38
#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
iPlayer Offline
Junior Member

Posts: 4
Threads: 1
Joined: Apr 2012
Reputation: 0
#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




Users browsing this thread: 1 Guest(s)