Wintermute Engine Forum
Wintermute Engine => Bug reports => Fixed => Topic started by: redfox on January 03, 2008, 10:44:00 PM
-
Hi,
I’ve been finding lots of problems with the actor turning (TurnTo) command in my game. Unlike the GoTo or other Actor events, the Turn doesn’t seem to stop/cancel other GoTo commands previously given to the actor.
Let me explain in more detail.
Normally, a region is programmed to walk the actor with a GoTo, but when a different GoTo (or action) is triggered, the first position (and any code following) is cancelled and not run.
However if my actor is still turning when new instructions are given, as soon as they have completed any new position, angle, etc, the actor jumps/snaps to the previous scripts GoTo position.
I know this wasn’t the case before.
-
Are you using overridden GoTo or TurnTo methods?
-
What do you mean by overridden?
The actor Turn's just don't seem to be cancelling and existing actor movement scripts, which does happen if the actor walks or talks etc. Should I send an example?
-
By overriden I mean your custom GoTo() or TurnTo() methods in your actor scripts.
An example would be nice in any case.
-
Hello,
Although the 1.8.2 update include a fix to this bug with the TurnTo, the bug still occurs at times when using a TurnToAngle, and at other times when using TurnTo. Despite code being the same in different scenes, the actor still snaps position on some screens, but not all screens as before.
-
Well I *tried* to fix it in 1.8.3, but since I can't reproduce the bug, I don't know if it helped. If it didn't, I'm going to need a better repro project.