Components Overview

Web Engine includes 50+ built-in components covering transforms, physics, rendering, audio, AI, networking, and more.

Components are pure data containers that define what an entity isand what it has. By combining components, you create unique game objects without inheritance hierarchies.

Component Categories#

Quick Reference#

Transform Components#

ComponentDescriptionKey Properties
TransformWorld position, rotation, scaleposition, rotation, scale, quaternion
LocalTransformPosition relative to parentposition, rotation, scale, quaternion
ParentParent-child hierarchyeid
SiblingIndexOrder among siblingsvalue
TransformDirtyMarks transform changedflags

Physics Components#

ComponentDescriptionKey Properties
RigidBodyPhysics simulation bodytype, mass, friction, restitution
ColliderCollision shapetype, size, offset, isSensor
VelocityLinear and angular velocitylinear, angular
CharacterControllerKinematic character movementspeed, jumpHeight, grounded
JointPhysics constraintstype, connectedEntity, anchor1, anchor2
TriggerVolumeTrigger/sensor zonesshape, size, collisionGroup

Rendering Components#

ComponentDescriptionKey Properties
MeshRenderer3D mesh renderingprimitiveType, assetId, castShadow
MaterialRefMaterial assignmentassetId, colorOverride, tiling, offset
MeshColorMesh color tintr, g, b, a
LightLightingtype, intensity, color, castShadow
CameraView camerafov, near, far, aspect
RenderableMarks entity as renderable
RenderLayersLayer-based renderingmask
CullingMaskCamera culling maskmask
BoundingBoxSpatial boundsmin, max, center, radius
LODGroupLevel of detaildistances, assetIds, currentLOD

Audio Components#

ComponentDescriptionKey Properties
AudioSource3D sound emitterassetId, volume, loop, spatial, pitch
AudioListenerReceives audio (on camera)active
AudioZoneReverb/occlusion areashapeType, reverbPreset, occlusionFactor

Particle Components#

ComponentDescriptionKey Properties
ParticleEmitterGPU particle systemmaxParticles, emissionRate, lifetime, speed

Animation Components#

ComponentDescriptionKey Properties
AnimationSkeletal animationclipIndex, speed, weight, loop
AnimationGraphComponentAnimation state machinegraphId, state
AnimationLODAnimation level of detaildistance, lodLevel, updateInterval

Gameplay Components#

ComponentDescriptionKey Properties
HealthHealth/damage trackingcurrent, max
CharacterControllerCharacter movementspeed, jumpHeight, grounded
InventoryItem storagecapacity, locked
TeamTeam affiliationid
VehicleVehicle physicstype, maxSpeed, acceleration
ProjectileBullet/arrow physicsownerId, damage, speed, lifeTime

Adding Components#

To add a component to an entity in the editor:

  1. Select an entity in the Hierarchy panel.
  2. In the Inspector panel, click the Add Component button.
  3. Search or browse for the component you want.
  4. Click to add it to the entity.

Component Shortcuts

When creating entities via right-click menu (e.g., "3D Object → Cube"), all necessary components are added automatically.

Common Component Combinations#

Some components work best together:

Static Prop#

  • Transform — Position in world
  • MeshRenderer — Visual mesh
  • Collider (static) — Collision for raycasts/physics

Physics Object#

  • Transform — Position in world
  • MeshRenderer — Visual mesh
  • RigidBody (dynamic) — Physics simulation
  • Collider — Collision shape

Player Character#

  • Transform — Position in world
  • MeshRenderer — Character mesh
  • CharacterController — Movement with collision
  • Animation — Skeletal animations
  • Script — Player input handling
  • AudioSource — Footsteps, voice

AI Enemy#

  • Transform — Position in world
  • MeshRenderer — Enemy mesh
  • NavMeshAgent — Pathfinding
  • Animation — Skeletal animations
  • Target — Reference to player
  • Health — Damage/death
  • Script — AI behavior
Components Overview | Web Engine Docs