Skip to content
Documentation

Supported Object types: 3d. Attach this component where needed. An Object has at most one instance of this component.

Use Object components to understand definitions and instance overrides.

Defaults below are normalized factory values from the component schema. Object presets, dimension, project units, and Scene overrides can supply different starting values. “Not stored” means the path is optional or runtime-derived. Read the property description to interpret it. Blank resource references assign no resource.

Writable means exposed for property writes through Logic. A No entry can still be editable in the Object Editor; runtime-only values cannot be authored. World-space lengths use metres, screen-space lengths use pixels, and rotations use degrees unless stated otherwise. The current loader refuses pixel-era projects. Use Units and Coordinates when comparing values.

Property and path Type Factory default Behavior Writable
Shape (shape) text “box” Primitive shape: box, sphere, cylinder, cone, plane, or ramp. Yes
Width (Meters) (w) number 1 Width in metres, clamped to at least 0.01. Yes
Depth (Meters) (d) number 1 Depth in metres, clamped to at least 0.01. Yes
Height (Meters) (ht) number 1 Height in metres, clamped to at least 0.05. Yes
Color (color) color “#8a93a6” Base color as a six-digit hexadecimal color. Yes
Opacity (alpha) number 1 Opacity from 0 to 1. 0 is transparent. Yes
Glow (emissive) number 0 Emissive strength from 0 to 1. Yes
Texture (texture) thing:sprite “” Sprite resource used as the surface texture. Yes
Texture Scale (Blocks) (textureScale) number 1 Texture repeat scale in metre-sized blocks, clamped to at least 0.05. Yes
Material (material) thing:material “” Material resource overriding the primitive’s base surface settings. Yes
Collider (collider) text “auto” auto creates shape collision; none disables primitive collision. Yes
Tile Type (tileType) text “” Gameplay Tile Type label carried by the primitive. Yes
Visible (visible) boolean true Whether the primitive draws. Its collision configuration remains separate. Yes
Body (body) text “static” Physics body type: static or dynamic. Dynamic bodies participate in force-driven motion. Yes
Mass (mass) number 1 Dynamic body mass, clamped to at least 0.05. Yes
Grip (friction) number 0.6 Contact friction from 0 to 1. Yes
Bounciness (restitution) number 0.2 Bounce coefficient from 0 to 1. Yes

Myth Engine Documentation