Wintermute Engine Forum

Wintermute Engine => Bug reports => Topic started by: fireside on June 02, 2008, 10:16:01 PM

Title: TurnTo(this) not working on back wall
Post by: fireside on June 02, 2008, 10:16:01 PM
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.
Title: Re: TurnTo(this) not working on back wall
Post by: Mnemonic on June 03, 2008, 10:05:29 AM
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?
Title: Re: TurnTo(this) not working on back wall
Post by: fireside on June 03, 2008, 03:16:04 PM
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.