Vǫrðr Forge Steam page

Building a World

Collision

Collision decides what blocks walking and what stops shots. Sprites and models collide differently; both are set in the prop's Collision section in Properties.

Every prop

Player, NPC, Enemy, Projectile
How this prop answers each kind of mover: Block stops it, Overlap lets it through and counts as a touch, Ignore lets it through unnoticed.
Step up
Whether a walker can step onto its top. Auto decides from its height.
Stand height
For a sprite, how tall its top is for walking on.

Map > Show Hitboxes (or H) draws every footprint on the map.

A hitbox on its own

Need a wall nobody can see? Outliner > Add… > Hitbox, or Add Hitbox Here on the map's right-click menu, places a hitbox: collision with no picture. Pick its shape (Circle, Ellipse or Rect) in its Collision section, and drag its edges on the map to size it.

Sprites: the hitbox

A sprite placed on solid ground blocks by its own picture: the visible pixels are the wall. Ground art (tiles, paths, decals) stays walkable, and painted shadows never block.

Edit Hitbox... in the Collision section opens the hitbox window.

Auto (Mask)
The art's exact outline. The default.
Circle, Ellipse, Rectangle
A simple shape. The TUNE buttons size its two axes (A, B), tilt it (T) and nudge it off centre.
None
Walk-through scenery.

For a mask, PAINT changes the outline:

Solid
Adds wall where the art has none: an invisible fence, a sealed doorway.
Carve
Cuts a walkable path through the mask: a gate's opening, a way under an arch.
Brush
Dabs of size 12, 24 or 48. The wheel over the buttons sizes it too.
Spline Shape
Ctrl+click points around an area; the curve closes into a filled shape. Double-click or press Finish to keep it, Cancel or Esc to drop it.
Spline Path
Ctrl+click points along a route; the curve becomes a band as wide as the size. Good for curved walls and walkways.

A finished spline stays editable: drag a point to move it, right-click a point to remove it, Ctrl+click the curve to add a point, or drag the curve itself to move the whole spline. Strokes replay in the order you made them, so the last one wins. Clear Paint starts over; the art's own outline is always underneath.

Models: collision type

A model prop blocks by its own drawn box unless its asset says otherwise. The Collision row picks the type:

Default
What the model's asset document says.
Simple
Walk against the simple shapes; shots test the triangles.
Complex
Walk and shots both test the triangles.
Simple as Complex
Walk and shots both test the simple shapes.
None
No collision.

Tick preview to see that prop's collision drawn on the map while you edit.

Simple shapes on a model

Open the model's asset (Open in Asset Manager in its Properties). Its Collision menu adds a box, sphere, capsule or convex hull fitted to the model, or Auto Convex Collision, which splits the model into several hulls. Remove Collision takes them all off again. The Simple Collision and Complex Collision toggles show them on the stage. A prop's page stands the model at rest, as a placed prop stands, so the green lines of its simple collision lie on the body. Each shape is a component you can move and size in Details.

From a script:

asset collide assets/art/models/crate/crate.vfa box
asset collide assets/art/models/rock/rock.vfa parts 6
asset prop assets/art/models/rock/rock.vfa collision Simple

Standing on a raised prop

A prop or model with collision is a floor at its top at any height: on the ground, raised by its Z, or floating over water. On its top the character walks on the top and not on the ground below it, so a hillside under a floating platform does not slide her off, and over the sea she stands dry instead of swimming. Its sides are walls, and its underside stops her head when she jumps up into it.

Falling out of the world

A 3D map with no ground of its own (or a 2.5D map marked groundless) lets the character fall below every prop. Past the map's Kill Z (Map Settings) a fall kills. See Maps and Travel.