Rigidbody Pushing
Kind: Modifier · Add Component: Character Modules > World > Rigidbody Pushing
Pushes crates and other physics objects. Crates become steps and switch weights.
Lets the character push physics objects such as crates, with a force a person could manage. Crates become steps and switches.
Inspector
▼Rigidbody Pushing
CharacterCharacter (Character Motor)
Strength1500
Horizontal OnlyOn ▾
Origin. Half-Life 2 (2004) built puzzles from pushing physics objects.
How it works
Changes no state: it only reports or reacts.
Pushes dynamic Rigidbodies the character walks into. It pushes with enough force to bring the object up to the character's speed, but never more than strength, so light crates slide along and heavy ones (whose friction is more than that) do not move. The character itself is kinematic, so without this it stops at a crate as if it were a wall.
Combine it
- Used by the presets: Arena Shooter, Competitive Shooter, Surf, Retro Platformer, Modern Platformer, Traversal Adventure.
Properties
| Property | Description | Range | Default |
|---|---|---|---|
| Character | The character this module belongs to. Drag its Character Motor here. | None | |
| Strength | Most force the character pushes with, newtons. About 1500 for a person leaning into it. | 0 or more | 1500 |
| Horizontal Only | Push horizontally only, so the character does not press crates into the floor. | On |