0
$\begingroup$

I used collision sensor which reacts to any kind of collision which takes place. So is there any other way to make an object react with different collision differently.

enter image description here

The cube is a ridged body and the plane is static

enter image description here

As the cube falls the plane detects the cube collision and acts as set.

enter image description here

These are the given settings for the above function.

As the cube falls the plane senses the cube collision and does the given function. But if there would be an extra object, for example a sphere, I want the plane object to react with the sphere collision differently. How is it possible in blender game engine?

$\endgroup$
1
$\begingroup$

You can filter the collision evaluation

  • by Property (M/P disabled Property: contains a property name)
  • by Material (M/P enabled Material: contains a material name)
  • no Filter at all (all other cases).

enter image description here

Be aware - the other participant of the collision needs to have the property/material.

$\endgroup$
  • $\begingroup$ I was going to do this in a long method. Thanks $\endgroup$ – simon143 Aug 27 '15 at 15:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.