Jump to content

Custom armor modeling help


skip999

Recommended Posts

Hello,

I have been trying to implement a custom armor model for a set of armor I'm making. The model is rendering correctly, however the armor pieces are not binding to the player. I am not sure why as from what I can tell from the limited resources on it, I am doing it correctly. I have linked to the rendering method as well as the rendering class. Any help would be appreciated!

 

 

Rendering Method: https://github.com/skiprocks999/Electrodynamics-Fork/blob/c68f5c93949c3fe0549ce4eecbcdbe55fe0e5305/src/main/java/electrodynamics/common/item/gear/armor/types/composite/CompositeArmorItem.java#L89

Rendering Class: https://github.com/skiprocks999/Electrodynamics-Fork/blob/1.16.5/src/main/java/electrodynamics/common/item/gear/armor/types/composite/CompositeArmorModel.java

Link to comment
Share on other sites

In other words the various parts do not move with the player. Instead of behaving like the vanilla armor for example, it instead behaves like this:

image.thumb.png.d65fb6bbaaf77e735389714ac53133b8.png

image.thumb.png.01c65bd493e3dd9923b62a6a9ef1eee1.png

I was under the impression that adding the various armor parts as children to the various biped parts would do this, but this does not seem to be the case. I linked the whole render class in my first post, but I have also included a screenshot of the code:

image.png.f5b2629d50b60e1336134549112ac169.png

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.