Beta
When added, this movement control allows the mob to glide.
const getEntityMovementGlideComponent = entity.getComponent("movement.glide");getEntityMovementGlideComponent.speedWhenTurning;getEntityMovementGlideComponent.startSpeed;getEntityMovementGlideComponent.isValid(); Copy
const getEntityMovementGlideComponent = entity.getComponent("movement.glide");getEntityMovementGlideComponent.speedWhenTurning;getEntityMovementGlideComponent.startSpeed;getEntityMovementGlideComponent.isValid();
Readonly
The entity that owns this component.
Speed in effect when the entity is turning.
This property can throw when used.
Start speed during a glide.
Identifier of the component.
Static
Whether the component is valid.
Returns whether the component is valid. A component is considered valid if its owner is valid, in addition to any addition to any additional validation required by the component.
When added, this movement control allows the mob to glide.
Example: getEntityMovementGlideComponent.js