CollisionGen Studio is coming soon. It is not on sale yet — this site is a preview.
CollisionGen
Contents

Getting started

Making collision

Testing and exporting

Reference

The Walk Test

The Walk Test puts a player in the building who collides with your collision and nothing else, so you feel exactly what players will: stairs you can climb, doorways you fit through, floors that hold. It moves like Unreal Engine's character: quick to start, quick to stop, sliding along walls rather than sticking to them; and at a person's pace, moving off at a walk and easing into a jog. You see through the player's eyes, your own body below you, or watch the player as a character from behind.

Starting and stopping

  • Press Alt+P, or click Walk Test in the toolbar. The player starts where the camera is and drops onto the floor below. Fly to where you want to begin first.
  • Or right-click a floor in the viewport and choose Play From Here, as in Unreal: the player starts on that spot (right-click a wall and it starts on the floor in front of it), looking the way the camera looks.
  • Esc stops it and puts the camera back where it was.
  • The mouse is captured while you walk. If the window loses focus the test pauses: click the viewport to go on.

The Walk Test needs collision: generate some first.

First person and third person

First person (where the Walk Test starts) sees through the player's eyes, at the height a person's eyes are. Look down and you see your own body as you would: your chest at the foot of the view, your legs and feet beyond it, your hands as you walk and run. Your head bows forward as you look down, and the view stays at the body's own eyes as it leans into a run. Your chest and shoulders always face where you look, turning at the waist as a person's do, so a quick turn never swings a shoulder across your view; your legs keep to the way you are going (or standing), and when you have turned well away on the spot they step round to you. They are never more than about 100° from the view: turn further and they come round with you. While you crouch the body is hidden from your view.

Third person shows the player as a character, seen from behind, that moves as you do:

  • it stands and breathes when still; moving off, it takes a step or two and is jogging within a moment, its stride timed to its speed; and it breaks into a sprint, head down, when you keep jogging one way (see Controls);
  • its feet stay where they land: a planted foot holds its place on the floor while the body turns about it or moves on, the leg bending to it, until the step lifts it;
  • it turns to the way it is going quickly, without breaking its stride, leaning into the turn; turning on the spot, it steps round;
  • it jumps, with the take-off, the top and the landing timed to the jump itself, and at a sprint dives and rolls instead: it keeps its speed through the air and through the roll (the roll quicker the faster it goes), and if you are still running it is sprinting again the moment it is up — you steer once it is on its feet. It falls and lands when it walks off a ledge;
  • it crouches;
  • left alone for a minute (no key, mouse or controller touched, standing still; the time is in System Settings), it falls over and lies on the floor — only where there is room: never against a wall or furniture, at a ledge or on stairs, where it just stands. Touch any control and it gets back up (that takes a few seconds; it walks once it stands). This happens only in third person.

The camera follows behind the character, and moves in front of a wall rather than through it. When a wall is right behind you the camera comes close, and the character is hidden so you still see where you are going. When the character lies on the floor the camera comes down with it. The character is sized to the player's height. What collides is still the player's capsule (see Walk settings), not the character's arms or legs.

Press V (Y on a controller) to switch between first and third person while you walk. Which one a walk starts in is set in Settings > Walk Test (first person unless you change it), along with whether you see your body, mouse look, whether turning the view steers you while you move, and the fall-over and sprint timings (see System Settings).

Controls

Keyboard and mouseController
MoveW A S D or the arrow keysLeft stick
Walk, then jogMoving off walks for a moment (a fifth of a second), then eases into the jog. Stopping walks again from the start; a stick pushed part way keeps walking, and the slower it walks the shorter its steps, its planted feet staying put.
LookMouseRight stick
JumpSpaceA (cross)
Jog at once (no walk first)Hold ShiftClick the left stick
Sprint (1.3 times the jog)Keep jogging the same way at full speed for 5 seconds. Letting go, turning more than 30°, crouching or being stopped by a wall ends it; a jump does not.
CrouchHold C or CtrlB (circle)
First person / third personVY (triangle)
StopEscMenu (options)

Looking steers. As in most shooters, turning the view (the mouse or the right stick) turns the way you go while you move, in first and third person alike. To look around without changing the way you are going, turn off Settings > Walk Test > Turning the view steers while moving: then, while you hold one way, the mouse looks around freely (in third person the camera circles the character), and the controls line up with the camera again whenever you stop — let go and the character comes to rest, or something holds it where it stands — and whenever you push a new way (back, or round to a side; adding a diagonal is still the same way). So turning round is never backwards: what you push then goes the way the camera looks, as in Unreal.

Jumping under a low ceiling, the player's head stops at it and the player drops straight back, as in Unreal.

Walk settings

The arrow beside Walk Test in the toolbar opens its settings, in Unreal's terms:

Height, RadiusThe player's capsule: its height is the player's height (the eyes are at 93.5% of it, where a person's are). The narrowest gap the player fits through is twice the radius.
Max stepThe highest step climbed without jumping (Max Step Height): exactly that high, as in Unreal. A ledge a centimetre higher stops the player.
Max slopeThe steepest slope walked up (Walkable Floor Angle).
Walk speedThe first steps, before the jog (and a controller stick pushed part way).
Jog speedFull speed once going: Unreal's Max Walk Speed. (Unreal's own default, 600 cm/s, is a fast run from the first step.)
Jump speedJump Z Velocity. Beside it is how high it jumps.

Defaults goes back to the default player: Unreal's default character, an adult of real size, with a 176 by 34 cm capsule, 45 cm steps, 44.8° slopes and a 90 cm jump, walking at 150 and jogging at 380 cm/s. Sizes are real centimetres, so the building must be its real size too: see below.

The building's size and orientation

Choose Resize / Orient in the toolbar (or Tools > Resize / Orient...) to set how tall the building really is, and to stand it up if its file has it lying down or facing the wrong way. The bar above the viewport has:

  • Rotation X, Y, Z: the model's orientation relative to the grid, in degrees — what the walk test and exports use. Type an exact turn here.
  • Snap: the rotation rings in the viewport turn the model in steps of this many degrees (5 unless you change it: anything above 0, up to 360). Dragging a ring shows two angles, each with what it is said under it: the model's angle on the grid (large: its heading from +X, as Rotation Y has it, or its tilt from level), and how far this drag has turned it (smaller; a full turn is back to 0).
  • Height: tick it and type the building's height in metres; beside it, how tall its file has it.

On a narrow screen the bar takes two rows. Done saves the size and orientation for the asset.

The Walk Test then walks the building at that size and the right way up. Its collision scales and turns with it, so it always fits the model. Exports use the same size and orientation. Without a height set there, the building is sized by the real height its collision was generated with, else by its file's units.

Tip. Walk every staircase up and down, through every doorway, and along the outside walls. A place where you stop dead or fall through is where a shape needs attention: stop, select it, fix it, and walk again.