Posted September 2, 201312 yr 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.
September 2, 201312 yr 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.
September 2, 201312 yr Author Oh man! I've just made 16 models for my Cable and now i read this Thank you for the quick answer ss7 You sir are a god damn hero.
September 3, 201312 yr Author Hello, Sorry, but i have absolutely no idea how i can make connected textures with glRotatef(). I can make connected textures for 1 connection, but not for 4. Here is my old code: http://gw.minecraftforge.net/YZhX And here the new code: http://gw.minecraftforge.net/alc8 ss7 You sir are a god damn hero.
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.