Collision groups setup/demo

About Monkey 2 Forums Monkey 2 Code Library Collision groups setup/demo

This topic contains 0 replies, has 1 voice, and was last updated by  DruggedBunny 1 month, 1 week ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #14615

    DruggedBunny
    Participant

    Not the most intuitive demo to play, but this basically shows how to enable collisions betweens different types of objects, so the collision setup within the code is the important part here.

    In this case, the different types are represented by red, blue and yellow cubes. Use the white ball to bash cubes against each other — red collide against red, blue against blue and yellow against yellow; any other combination will fail to collide, which can be seen by the flickering intersections.

    Setting it all up is a little mind-bending, but it’s not actually too different to Blitz3D now that (I think) I’ve got it…

    See comments to enable red/yellow collisions, for example:

    [/crayon]
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.