Jump to content

Collision after tile swap


mattferndale
 Share

Recommended Posts

I have a csv tilemap  map.setCollisionBetween(0, 75)

and all is working well. I have a switch which when triggered calls

map.swap(49, 104)

Visually this works as expected but 104 should not cause a collision.

Is there something I should call to update the collision index

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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