Page 1 of 1
Floating creatures
Posted: Thu Jun 23, 2011 11:56 pm
by lbk
I have an item that will create a hole when it is broken. My problem occurs when a creature is on a tile and the hole is created on that same tile. The creature will just float over the hole, until they move off of that tile, then they will avoid that tile (like they would with a regular hole). I am wondering if there is a problem with creating a hole on a tile that already has an object on it? (Note that I am not opening up an already existing hole, but rather creating the hole) Any insight is appreciated, thanks!
Re: Floating creatures
Posted: Fri Jun 24, 2011 12:11 am
by Gambit37
I guess it's an engine problem with the order and frequency with which objects collisions are checked. I doubt you'll be able to get around this: I think you'd need George to change it in the core code.
Re: Floating creatures
Posted: Fri Jun 24, 2011 1:02 am
by lbk
Thanks for the response, I figured it might have been something like that.
I was able to solve my problem by cloning the pit to make it unique, then toggling the pit on and off quickly once it had been "created". This seems to work for all applications so far.
Re: Floating creatures
Posted: Fri Jun 24, 2011 1:22 am
by Gambit37
Good idea, nice work around!
