
How the game behaves · R.E.P.O. v0.4.0 · read from a local copy
The lean a vehicle takes from its speed
Accelerating lifts the nose and slowing drops it, each with a force and a maximum of its own.
A vehicle in R.E.P.O. leans with what it is doing: accelerating lifts the nose, slowing or hitting something drops it, each direction has a maximum, the change is smoothed over its own time, and turning pitches the body as well.
What the game establishes
- Accelerating lifts the nose and slowing drops it, each with a force and a maximum of its own. (checked against the game's own files)
- The lean is smoothed over a time of its own rather than snapping. (checked against the game's own files)
- Turning pitches the body as well, with a force and a maximum of its own. (checked against the game's own files)
In play
The lean is driven by speed rather than animated. Accelerating pushes the nose up and slowing pushes it down, each with its own force and its own maximum, which is why the same vehicle leans more the harder it is driven.
The two directions are separate settings. Going up and going down have a force and a maximum each, so braking and accelerating do not have to move the body by the same amount.
Nothing snaps. The lean is smoothed over a time of its own, so a sudden stop does not throw the body instantly but arrives at the new angle.
Turning pitches it too. There is a force and a maximum for the yaw as well, so a hard turn tips the vehicle rather than only sliding it sideways.
What this entry does not tell you: how far the body tips, in which units, or how it feels at a given speed. We have not verified those numbers, so we do not print them.
Related
How the game behavesHow a vehicle's body follows its physicsA mesh transform follows the physics with its own position and rotation smoothing.
How the game behavesDrifting a vehicleDrifting is a system with its own switch on the vehicle.Version and sources
A local copy of the game, read only. The grounding for each fact is listed on the technical reference pages; nothing here is estimated. Documented build: 0.4.0.