-
Notifications
You must be signed in to change notification settings - Fork 2
Movement components documentation
This page covers all of the movement components that can be added to an entity (along with an AI) in order to give it movement.
The movement type used by bees. This allows the entity to hover around in the air.
The constructor takes no arguments, e.g. new BeeMovement()
.
The movement type used by birds. This allows the entity to fly around and land on perches (if it has the correct AI and percher components).
The constructor takes no arguments, e.g. new BirdMovement()
.
A standard flying movement that allows the entity to fly around in the air but not land on perches.
The constructor takes no arguments, e.g. new FlyMovement()
.
The rocking movement type used by animals such as goats and wild boar.
The constructor takes a single JavaScript object with the following properties:
Name | Type | Description |
---|---|---|
speed |
float |
The speed of the entity's movement. |
rotationSpeed |
float |
The speed of the entity's movement whilst rotating. |
bouncePower |
float |
The power of the entity's jump. |
bounceRotation |
float |
How much the entity rotates when bouncing around. |
height |
float |
The standard height of each jump. |
The bouncing movement type used by frogs to jump around.
The constructor takes a single JavaScript object with the following properties:
Name | Type | Description |
---|---|---|
speed |
float |
The speed of the entity's movement. |
bouncePower |
float |
The power of the entity's jump. |
waitTime |
float |
The average number of seconds that the entity waits between jumps. |
bounciness |
float |
How bouncy the entity is. |
The waddling movement that animals such as ducks use to walk around.
The constructor takes a single JavaScript object with the following properties:
Name | Type | Description |
---|---|---|
speed |
float |
The speed of the entity's movement. |
rotationSpeed |
float |
The speed of the entity's movement whilst rotating. |
bouncePower |
float |
The power of the entity's jump. |
The galloping movement that animals such as horses use to run around.
The constructor takes a single JavaScript object with the following properties:
Name | Type | Description |
---|---|---|
speed |
float |
The speed of the entity's movement. |
bouncePower |
float |
The power of the entity's jump. |
upRotationSpeed |
float |
The speed of the entity's movement whilst rotating upwards to jump. |
gravityFactor |
float |
A measure of how much gravity affects the entity whilst in the air. |
frontZ |
float[] |
A list of the front Z-coordinates for each model of the entity. |
backZ |
float[] |
A list of the back Z-coordinates for each model of the entity. |
The hopping movement that rabbits use to move around.
The constructor takes a single JavaScript object with the following properties:
Name | Type | Description |
---|---|---|
speed |
float |
The speed of the entity's movement. |
bouncePower |
float |
The power of the entity's jump. |
upRotationSpeed |
float |
The speed of the entity's movement whilst rotating upwards to jump. |
downRotationSpeed |
float |
The speed of the entity's movement whilst rotating downwards after jump. |
frontZ |
float[] |
A list of the front Z-coordinates for each model of the entity. |
backZ |
float[] |
A list of the back Z-coordinates for each model of the entity. |
Thanks for visiting this wiki. Don't forget to check out Equilinox!
The wiki and the modding framework are still heavily under development, so not all content is available yet.