Thursday 12 March 2020

Minecraft Model Basics - Rotation [1.14.4+]


The Renderer for an Entity can use one or more Models, eg head, body, legs.
Each model can be made of multiple boxes (eg the head of a pig has a skull and a snout).
A parent model can also have child models (eg a pig’s head might have ears which can rotate independently of the parent.)






Rotation of the parent model (and children if any) is manipulated using setRotationPoint and rotateAngleXYZ on each model.










No comments:

Post a Comment