Jump to content

[1.16.4] How to make entities sit on the ground properly?


Recommended Posts

Posted

2021-09-08_13_34_30.thumb.png.60a92fb341b0ec84ccc1d7f76aefbaae.png

As you can see, when my entity is sitting, its sitting above the ground. I've tried to modify the entity's model but since this entity actually uses two models (the other model is for rendering their armor if they have one equipped) so it gets really wonky.

I'm wondering if there's a way to move their body down a little so they can look like their sitting on the floor using other methods.

Posted
On 9/8/2021 at 2:27 PM, diesieben07 said:

What are you doing to make them sit?

Model wise? Through rotate Angles. Example: this.bipedRightLeg.rotateAngleX = -1.4137167F;

Code wise? They sit when you right click on them.

I tried to use rotationPointY to make them look like they are sitting on the ground, but as mentioned, I was using two models for the entity, and when I tried to lower their rotationPointY, it looked pretty funky even when the reduction is on both models.

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.