LaunchView
LaunchView frames the launch for every player who joins. The orbit rig normally aims at the player's head, which keeps the horizon in the middle of the frame. LaunchView raises the rig's aim point a few metres above the player, so the camera looks up at the plume, the vehicle and…
LaunchView
LaunchView frames the launch for every player who joins. The orbit rig normally aims at the player's head, which keeps the horizon in the middle of the frame. LaunchView raises the rig's aim point a few metres above the player, so the camera looks up at the plume, the vehicle and the sky.
It is written to sit on the PlayerPrototype's camera rig, so every joining player's own camera gets
it. It works on the @builtin::controller.orbital_follow component on its own entity, which the
Camera component attaches. That orbit component can appear after LaunchView's own start, so the
value is applied again every frame until the orbit component exists and holds it.
It runs at executionOrder = -80, after the orbit rig (-90) has set itself up.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
aimHeight | number | 3.8 | How far above the player the orbit rig aims, in metres. |
aimHeight is Sync.
Lifecycle
start(): appliesaimHeightto the orbit component.update(dt): applies it again each frame, writing only when the orbit component'saimHeightdiffers.onPropertyChanged(key, value, oldValue): applies it at once whenaimHeightchanges.
Scoped to this part · feeds back into the world's score.