06.11.2012, 15:13
objects are being rotated aswell, when they get moved. if you want to ONLY move an object, you have to set the correct (current/old) rotation, too.
simply add the "closed 90°" degrees to the target position - its best to store each objects' data in an array so it can be edited ingame...
simply add the "closed 90°" degrees to the target position - its best to store each objects' data in an array so it can be edited ingame...