Posted August 2, 201510 yr Hi, the matrices (Item rotations / translations) in my IPerspectiveAwareModel are messed up within the method below. ForgeHooksClient is causing the problem. Any help is greatly appreciated, thanks. public Pair<IBakedModel, Matrix4f> handlePerspective(TransformType transform) { switch(transform) { case FIRST_PERSON : return Pair.of(this, ForgeHooksClient.getMatrix(this.model.getItemCameraTransforms().firstPerson)); //Switch other types of transforms; above is the cause and an example of the problem } } Development of Plugins [2012 - 2014] Development of Mods [2012 - Current]
August 4, 201510 yr Author How would I make the IPAM class's handlePerspective() call the IBakedModel and retrieve the item transforms from it? Thanks again. Development of Plugins [2012 - 2014] Development of Mods [2012 - Current]
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.