UPhysicsConstraintComponent::SetLinearDriveParams

Sets the drive params for the linear drive.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/PhysicsConstraintComponent.h

Include

#include "PhysicsEngine/PhysicsConstraintComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/PhysicsEngine/PhysicsConstraintComponent.cpp

Syntax

void SetLinearDriveParams
(
    float PositionStrength,
    float VelocityStrength,
    float InForceLimit
)

Remarks

Sets the drive params for the linear drive.

Parameters

Parameter

Description

PositionStrength

Positional strength for the drive (stiffness)

VelocityStrength

Velocity strength of the drive (damping)

InForceLimit

Max force applied by the drive

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