collision detection script?

Does anyone have a script that applies collision detection to objects in the scene, so that if im animating a character whose walking, he doesnt go through the ground, or if hes climbing a ladder his hands and feet dont go through the rungs.

No.

Chris

You’ll have to make your own script that says…

if feet.y < ground.y:
…feet.y = ground.y

Or else Theeth made a collision script for Dynamica…

Or else Theeth made a collision script for Dynamica…

I didn’t do it, Eeshlo did. Plus, it’s not a full collision handling script (yet). Only the “detection” part is done.

MrPatel: it’s potentially possible, but it would mean extracting the deformed mesh each frame, than checking for collision, than deforming based on soft body maths.

Martin