1.7 - Linear Motors

An overview of the Physics example level, example 1.7: PhysicsContraints Linear Motors

Choose your operating system:





Enabling a linear motor on a PhyiscsConstraint will make the attached physically simulating objects move along an axis (or axes) in one of two methods.

The first method is the Linear Position Drive which attempt to obtain a position relative to the constraint position. Think of it like a spring. A spring will attempt to obtain its resting position, whether it is compressed or stretched, it will push or pull to obtain its resting state. Its Linear Drive Spring , Linear Drive Damping , and Maximum Spring Force define how quickly and how "bouncy" the spring attempts to obtain its resting state.

The Linear Velocity Drive simply applies a force in the given direction from the constraint's location. The simulating objects will move away from the constraint until the length of the constraint is reached. Using an inverse force will pull the constrained objects together.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey