Positive rotation not negative.
This commit is contained in:
@@ -364,7 +364,7 @@ public class NPC extends AbstractCharacter {
|
||||
|
||||
// Rotate slot position by the building rotation
|
||||
|
||||
this.bindLoc = Vector3fImmutable.rotateAroundPoint(building.getLoc(), this.bindLoc, -building.getBounds().getQuaternion().angleY);
|
||||
this.bindLoc = Vector3fImmutable.rotateAroundPoint(building.getLoc(), this.bindLoc, building.getBounds().getQuaternion().angleY);
|
||||
|
||||
this.loc = new Vector3fImmutable(bindLoc);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user