Hm. Having just implemented the basics of statue pushing myself (I did say you'd made me want to try it) by having the statue move one square of a small grid along whichever axis the player pushes it from, I've noticed a few problems.
Firstly, if the placeable blocks movement, then the player will always move to a certain position around it before using (namely, where the use node is in the model). You can get around that either by adding an empty .pwk for the placeable, or by simply placing it 50cm to a metre below ground level, so the placeable's walkmesh gets ignored by the game. Either method should make the player able to push from any direction.
Secondly, the fading animation placeables use when created and destroyed seems to be unstoppable. Which means adding a sliding animation on top might look a little weird. But I haven't taken a shot at implementing that yet.
I did try to post my code, but these forums hate me.
Modifié par _six, 26 juillet 2011 - 07:43 .