Wintermute Engine > Bug reports

TurnTo(this) not working on back wall

(1/1)

fireside:
I'm using a TurnTo(this) on a side wall cabinet and it works fine.  On a back wall, the character won't face the object with the same code.  This is with an actor3d that otherwise seems to be working fine.

Mnemonic:
It's important to notice that TurnTo method turns to the base point of the target, i.e. the top-left corner, unless you use a sprite with a different "hot spot" placement. Could that be the problem?

fireside:
This isn't even in the right neighborhood.  Most of the time he points down instead of up and he's way lower than the object, which is just a square.  If it was even ball park, I wouldn't care really, but it looks weird when he has his back to the object.  I'm using two region entities and I can't think of any thing different about them other than one is on the west wall and one is on the back wall.  The one on the west wall works fine no matter where I position the character, the one on the back wall is strange.

Navigation

[0] Message Index

Go to full version