warning CollisionDispatcher.needsCollision: static-static collision!

I get this warning one single time when loading my scene is in progress. Later it doesn’t show up anymore. My theory is that the collision shapes for my static objects are created and activated before the scene is completely put in place, but that’s just my believing.

[java]warning CollisionDispatcher.needsCollision: static-static collision![/java]

Can I avoid this warning somehow? Could it cause any problems?

It happens when you have movable spatials (mass > 0) with a mesh collision shape, they cannot collide with other collision shapes.

1 Like

I investigated this further and the warning appears not until I add GhostControl to the scene. Why is this so?

[java] GhostControl control = new GhostControl(new BoxCollisionShape(Vector3f.UNIT_XYZ));


I’m using about a dozen GhostControls.

Ah, then theres nothing to worry about, its due to a certain combination of collision flags that this message pops up.