1.7 - Linear Motors

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

Windows
MacOS
Linux

physics_1_7_001.png

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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback