Collision confusion :(

Blitz3D Forums/Blitz3D Beginners Area/Collision confusion :(

JustLuke(Posted 2006) [#1]
For some reason the collisions that I have defined in the following code seem to be being ignored, and I don't know why.

All I'm attempting to do at this point is prevent the cube entity from passing through the block entitities.

My cube entity is defined as "EntityType CUBE,PLAYER"
The blocks are defined as "EntityType block,SCENE"

And I'm setting up the collision response with "Collisions PLAYER,SCENE,2,2"

Could someone tell me what is going wrong, please?

Arrow keys move the cube around.
Right Mouse button + mouse movement rotates the camera around the cube.

EDIT: Code removed.


JustLuke(Posted 2006) [#2]
UPDATE: I've fixed the problem. Forgot to declare Constants for the collision types - Doh!