collision bones

I am using static objects with an armature but the collision just won’t work, I have tried many times. Check out the blend let me know what i am doing incorrectly. The wall is static and the bones are set to sensor, oddly if you unselect detect actor button it works a bit better

digiman

Attachments

collisionbones.blend (137 KB)

Simple. You need to enable “Actor” on the wall object

But it goes through the wall also what if i have sveral objects like the one going through the wall will they avoid each other?

digiman

just program it so that if it collides with a wall, stop the motion

Actually, if i stop the motion it goes straight through. Go figure

digiman

You’re using motion actuators; they teleport objects. It’s possible for a motion actuator to put one object inside another.

Instead you want Servo Control (and either Rigid Body or Dynamic objects; sensors are only meant to detect collisions, not react to them); this will try to make your object move a certain speed and, since it’s moving and not teleporting, it won’t go inside other objects.

I know they only detect objects that was why i used motion actuator so once detected it would move the way i set the motion actuator. My objects have an armature that is a sensor object but the mesh is a rigid body, if i change it to a rigid body the object seems to go crazy with no control even if i lock the rot and loc buttons. Maybe if i fool with the mesh(rigid body) it will work, but at this point i have tried so many ways to make it work i am thinking forget collision detection altogether.

digiman

digiman