Jump to content

TESR Models


ss7

Recommended Posts

Hello,

 

I've got a question. I'm making a mod with cables, and the have got connected textures. But i need 16 different models for all connections. And mods like Applied Energistics have more than 10 blocks with connected textures. Is there a way to just rotate the block and then only need one model for 4 sides? Because i't would be a lot of work to create 16 models for each block.

 

ss7

You sir are a god damn hero.

Link to comment
Share on other sites

Indeed.

Actually, glRotate takes not 3 arguments, but 4: an angle and coordinates of the rotating vector.

So, glRotatef(player.RotationYaw, 0, 1, 0) will rotate renderer around vertical axis, as an instance.

If i helped you, don't forget pressing "Thank You" button. Thanks for your time.

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.