Jump to content

[1.7.10] [Solved] Model set rotation angles f, f1, f2, f3... Meanings?


Recommended Posts

Posted

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?

Posted

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.

Posted

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.

Posted

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.

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.