1
$\begingroup$

I have a static bullet with the collision bounds set to a cube. I also have a static target with the collision bounds set to cube.
my bullet has the following logic setup: enter image description here
my target has this logic setup: enter image description here

Both have very basic logic, and it works if I set my bullet to rigid body or dynamic. however, if I set my bullet to static, when I start the game engine, the bullet passes through the target and out the other side with the target remaining in place. Why is it that static objects can't detect collisions with other static objects?

$\endgroup$
1
$\begingroup$

It is that way by design - most likely for performance. See the Static Physics Object page.

Static objects in the Blender Game Engine do not automatically react to physics, including gravity and collisions. Even if hit by the force of a speeding 18-wheeler truck, it will remain unresponsive in terms of location, rotation, or deformation.

It will, however, give collision reactions. Objects will bounce off of Static Objects, and rotational inertia will transfer to objects capable of rotating (that is, Rigid Body Objects will spin in response, though Dynamic Objects will not).

$\endgroup$
0
$\begingroup$

the reason that yours isnt working is because you haven't told it what it is colliding with. to do this add a material to the bullet, call it bullet and then on the collision sensor of the target click the M/P button and select the bullet material and you should be good.

$\endgroup$
  • $\begingroup$ That is an optional field to make the sensor only sense certain materials or properties. When left blank, it will (or should) send a positive pulse to the controller if Anything collides with it. $\endgroup$ – X-27 Jun 14 '15 at 18:05

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.