I’ve been playing around a bit with the game engine, and I can’t seem to get the collision and touch sensors working anymore.
I have a plane with the property “Killer.” It’s a boolean set to true. Then I have a dynamic cube with a collision sensor looking for the property “Killer,” attatched to an AND controller connected to an Edit Object->End Object actuator.
When the cube drops to the floor it’s supposed to be destroyed, but it just bounces once or twice and sits there.
I added a boolean property to the cube called “Dead,” initiated to false. Then I altered the actuator to change the value of “Dead” to true. The debug information shows it as false during the entire session.
The plane is an actor with the bounding box “Static Triangle Mesh,” the cube is a dynamic actor with the bounding box type “Box,” and both objects have materials. I have also verified that all faces of both objects have collision enabled. Changing the collision type to material has no effect, either, and the touch sensor does the exact same thing as the collision sensor, which is absolutely nothing.
Has the sensor changed since 2.3x, and did I miss a step? The exact steps I printed here worked in the older versions, if I remember correctly.