Bug in wade.iso.moveObjectToCell()
Shri

Gio,

 

I was implementing a 'teleport' ability in the labirinto game.

It seems that calling moveObjectToCell() allows you to move off the iso grid and into / through grids where objects with collision maps are (i.e. walls).

 

It's kind of a cool effect, but not sure if that's what was intended ?

 

cheers

1 Comment
Gio

Thanks for reporting it, however I think it's only a bug if the object you are trying to move has a collision map too. If you are able to move two objects with collision maps into the same cells (so that their collision maps overlap in any way), then that's definitely a bug.

 

If you are moving a character or an object with no collision map, it's allowed to go into cells with collisions.

 

This is different to pathfinding, which always tries to find a path avoiding cells with collisions, regardless of whether the object you want to move has a collision map or not.

Post a reply
Add Attachment
Submit Reply
Login to Reply