Get RAPTOR

Play

Playing the level

Play and Pause are in the top bar.

ButtonAction
PlayStarts and stops Play. Or use the hotkey CtrlP
PausePauses Play

A floating RAPTOR window hides during Play and returns when Play stops. A docked one shows the game in a Game tab beside it. Editing is disabled during Play.

The built-in player

In a scene with no camera or with a player start, Play uses the built-in first-person player.

ControlAction
W A S DMoves
Looks around
ShiftRuns
SpaceJumps
Ctrl or CCrouches
FFlies
EscFrees the cursor

Where it starts

The built-in player starts at the first of these that applies:

  1. The scene's player start. Place one with the Logic tool's Player mode.
  2. The 3D view's camera position.
  3. The world origin.

Player settings

Open Settings → Play → Player.

SettingEffect
Use built-in playerTurns the built-in player on or off
Walk speedHow fast the player walks, in metres per second
Mouse sensitivityHow fast the view turns, in degrees per pixel

Eye height, body radius and the player prefab are in Edit → Project Settings → RAPTOR → Player.

Playing as your own character

Play can use your own character instead of the built-in player.

Add your character

Add your character and its camera to the scene.

Turn the built-in player off

Remove the scene's player start, or turn off Use built-in player. A player start runs the built-in player even when the scene has a camera.

Play

Press Play. The scene runs as it is.

To let Logic freeze, teleport and respawn your character, see Your own character.

Instant Play

Settings → Play → Play mode → Instant Play, off at first.

Instant Play starts Play without reloading scripts. Static values in your own scripts are kept between plays; turn it off if a script of yours expects a fresh start. The scene still starts fresh every time.

It is a project setting: Unity keeps it in Edit → Project Settings → Editor → Enter Play Mode Settings, so it holds for everyone who opens the project. RAPTOR never turns it on by itself.

  • On sets Reload Scene only and remembers the setting the project had.
  • Off puts that setting back.
  • The switch is greyed during Play.

After you edit a script, Unity still compiles it once. Instant Play only skips the reload each time you press Play. If another asset misbehaves on the second Play, turn Instant Play off.