PDA

View Full Version : How to save position and reorient?


rfgrove
01-29-2010, 06:04 PM
In Java, how can I reorient a character (alice) after she turns to look at an arbitrary object?

I want to save Alice's position so that after the statement

alice.turnToFace(someObject);

is executed, I can get alice turned back to her exact previous position.

x2495iiii
01-29-2010, 07:01 PM
Drop a dummy at Alice when she is in the view you want to save, then have her orient to the dummy object.