Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Model Engine 4 Model Engine 4
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 111
    • Issues 111
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • Model Engine 4Model Engine 4
  • Wiki
    • Modeling
  • Creating a Model

Creating a Model · Changes

Page history
Update Creating-a-Model.md authored Sep 27, 2023 by Ticxo's avatar Ticxo
Hide whitespace changes
Inline Side-by-side
Showing with 18 additions and 5 deletions
+18 -5
  • Modeling/Creating-a-Model.md Modeling/Creating-a-Model.md +18 -5
  • No files found.
Modeling/Creating-a-Model.md
View page @ 83eec95f
...@@ -73,15 +73,28 @@ and drag the pivot point. ...@@ -73,15 +73,28 @@ and drag the pivot point.
> ![](../Assets/Modeling/pivot.png) > ![](../Assets/Modeling/pivot.png)
## Hitbox and Eye Height ## Hitbox and Eye Height
After creating the model, all there is left is assigning a hitbox and eye height to the model.
The `Hitbox` works exactly like how vanilla hitboxes do. You can hit it, shoot arrows at it, and the model will get stuck if trying to pass through a gap too small for it.
`Eye Height`, on the other hand, tells Model Engine how tall is the model. When a mob is short, it tends to look up at you. When it is tall, it looks down on you. `Eye Height` allows you to set the exact height of your model so the model looks at you correctly. It is also where the headshot area of the mob will be, so if blocked the mob will suffocate.
Create both by adding a bone called `hitbox` with a cube inside. The size of that cube is the hitbox size, and the eye height is the Y value of the `hitbox` bone's pivot point. After creating the model, all there is left is assigning a hitbox and eye height to the model.
Due to Minecraft's limitations, the X and Z values of the hitbox must be the same. Therefore, Model Engine only reads the X size of the cube, and ignores the Z size. The hitbox must also obey **Minecraft's hitbox limit, which is 64x64x64 in blocks (1024x1024x1024 in pixels)**. The `Hitbox` works exactly like how vanilla hitboxes do. You can hit it, shoot arrows at it, and the model will get
stuck if trying to pass through a gap too small for it.
`Eye Height`, on the other hand, tells Model Engine how tall is the model. When a mob is short, it tends to look up at
you. When it is tall, it looks down on you. `Eye Height` allows you to set the exact height of your model so the model
looks at you correctly. It is also the "breathing" position, where the mob will suffocate if it is in a solid block.
Create both by adding a bone called `hitbox` with a cube inside. The size of that cube is the hitbox size, and the eye
height is the Y value of the `hitbox` bone's pivot point.
Due to Minecraft's limitations, the X and Z values of the hitbox must be the same. Therefore, Model Engine only reads
the largest width of the cube, and ignores the Z size. The hitbox must also obey **Minecraft's hitbox limit, which is
64x64x64 in blocks (1024x1024x1024 in pixels)**.
> ![](../Assets/Modeling/hitbox.png) > ![](../Assets/Modeling/hitbox.png)
## Shadow ## Shadow
To finalize the model, you can optionally create a shadow for the model to make it more grounded in game. The shadow can
be at any size, will always be centered around the model, and be placed on ground level.
To create a shadow, add a bone called `shadow` with a cube inside. The largest width of the cube will be the diameter of
the shadow, while the height of the cube is ignored.
> ![](../Assets/Modeling/shadow.png) > ![](../Assets/Modeling/shadow.png)
## Special Bone Behaviors ## Special Bone Behaviors
......
Clone repository
Home
FAQ / Common Issues
Commands & Permissions
Configuration
Modeling
  • Creating a Model
  • Bone Behaviors
  • Importing a Model
  • Animating a Model
  • Scriptable Keyframes
MythicMobs
  • Mechanics: Model
  • Mechanics: VFX
  • Conditions
  • Targeters
API
Technical
  • Terminology
  • Animation Systems
  • Mount Controllers