Posted August 14, 20223 yr I have set the pivot point of the head in blockbench and when I export it as java class and add animations and run the entity heads pivot point seems to be at the bottom of the legs, how do i fix this? version: forge 1.19 image: https://ibb.co/gSQ1wZw code: https://pastebin.com/k8MKbUB0 Edited August 14, 20223 yr by Blulow
August 14, 20223 yr 2 hours ago, Blulow said: entity heads pivot point seems to be at the bottom of the legs, how do i fix this? Looks like you specified the y position of the head as -22.0F. Try changing it to -8, that should put the pivot at the bottom of the head.
August 14, 20223 yr Author 20 minutes ago, vemerion said: Looks like you specified the y position of the head as -22.0F. Try changing it to -8, that should put the pivot at the bottom of the head. well i change it, but it became like this: https://ibb.co/KqpmvRt
August 14, 20223 yr Why did you not test a few other values? You know that the value must be larger than -22 and smaller than -8. Start with the center (-15). If the head is too far away the value is to larger (in negative direction), if the head is to close the value is to small (in negative direction). Edited August 14, 20223 yr by Luis_ST
August 14, 20223 yr Author i changed the y value to -4.0f and its right at the pivot point and i changed the y offset value to -18 which is on top of the neck and it worked! thanks so much
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.