Jump to content

[1.15.2] Rotate OBJ model according to block orientation


Elsopeen

Recommended Posts

Hello,

I'm trying to get a custom OBJ model for a block to rotate according to the block's orientation (got via DirectionProperty). I tought I could just put the parameters in the blockstate json, but it doesn't work.

Here's the repo of the project. The concerned block is called Scanner and is part of a multiblock (the master actually) and its model get switched when the structure is complete.
Its corresponding json is scanner_base.json.

I hope you'll be able to help me with that,

Thanks anyway,
Elsopéen

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
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.