Posted February 24, 201510 yr Hi. So I've been making a model and I was wondering what the f, f1, f2, f3, f4, f5 floats in setRotationAngles meant (what they are used for). I trying to animate the model and have been following a tutorial to do so. They say you need to do calculations to find the angles using these floats, but they don't tell me what they do. Can anyone tell me?
February 24, 201510 yr I tried to translate them: https://github.com/SanAndreasP/EnderStuffPlus/blob/master/java/de/sanandrew/mods/enderstuffp/client/model/ModelEnderAvis.java#L130 Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! | mah twitter This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.
February 24, 201510 yr I tried to translate them: https://github.com/SanAndreasP/EnderStuffPlus/blob/master/java/de/sanandrew/mods/enderstuffp/client/model/ModelEnderAvis.java#L130 Thanks. But here's another question: what does rotFloat do?
February 25, 201510 yr The reason I've called it that is because it's given a variable, whose value is the return value of a method called handleRotationFloat(Entity, partTicks) . (Line 143 in RenderLivingEntity; 1.7.10) The method just returns entity.ticksExisted + partTicks (Line 377 in RenderLivingEntity; 1.7.10) Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! | mah twitter This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.
February 25, 201510 yr The reason I've called it that is because it's given a variable, whose value is the return value of a method called handleRotationFloat(Entity, partTicks) . (Line 143 in RenderLivingEntity; 1.7.10) The method just returns entity.ticksExisted + partTicks (Line 377 in RenderLivingEntity; 1.7.10) Oh. Thanks for your help!
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.