ole92
Junior Member
Posts: 1
Threads: 1
Joined: Apr 2012
Reputation:
0
|
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 |
|
Cranky Old Man
Posting Freak
Posts: 986
Threads: 20
Joined: Apr 2012
Reputation:
38
|
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.)
|
|
04-17-2012, 05:17 PM |
|
iPlayer
Junior Member
Posts: 4
Threads: 1
Joined: Apr 2012
Reputation:
0
|
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 |
|