Closed desht closed 10 years ago
I've tried various ways of trying to make an entity face a given direction on creation but none seem to work:
See https://github.com/desht/ChessCraft/blob/master/src/main/java/me/desht/chesscraft/chess/pieces/EntityChessStone.java - I've verified the yaw is correct with debug statements. However, all entities end up facing south when I create them, meaning my chess piece don't face the right way :(
Once the entities are moved (using my custom DesireMovePiece desire), they do face the right way.
I've tried various ways of trying to make an entity face a given direction on creation but none seem to work:
See https://github.com/desht/ChessCraft/blob/master/src/main/java/me/desht/chesscraft/chess/pieces/EntityChessStone.java - I've verified the yaw is correct with debug statements. However, all entities end up facing south when I create them, meaning my chess piece don't face the right way :(
Once the entities are moved (using my custom DesireMovePiece desire), they do face the right way.