Jump to content

Update tile collision setCollisionByProperty dinamically


Recommended Posts

Hi there! I have a question.


I created a level that has 

 tiles.setCollisionByProperty({collides: true});

Then while the player makes an action I want to dinamically change it to:


 walls.setCollisionByProperty({collides: false});

Is there a way to remove the previous set and set this new one?



Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...