Jump to content

Recommended Posts

Posted (edited)

I am creating an item that uses an OBJ model. I have a corresponding JSON blockstate using the Forge format, where I set my transforms. I have used the Item Transform Helper mod to figure out what these transforms need to be. However, whenever I print those transforms with the helper mod, copy them into my JSON file, and load the game, my translations end up wrong! It's like they're being multiplied or something, it's really weird... For example, my item displays much further above where it should in GUIs. Whenever I check what the transform values are using the Item Transform Helper, they aren't what I specified in my JSON file! The rotations and scales appear to be unmolested but the translations aren't.

What's going on here?

 

Update: setting the translations to 0 gets the item relatively close. It looks like the translation values created by Item Transform Helper are 120% drunk. And the error doesn't _appear_ to be related to the scale settings either...

Edited by sci4me

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

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