UPhysicsConstraintComponent::SetLinearPositionDrive

Enables/Disables linear position 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 SetLinearPositionDrive
(
    bool bEnableDriveX,
    bool bEnableDriveY,
    bool bEnableDriveZ
)

Remarks

Enables/Disables linear position drive

Parameters

Parameter

Description

bEnableDriveX

Indicates whether the drive for the X-Axis should be enabled

bEnableDriveY

Indicates whether the drive for the Y-Axis should be enabled

bEnableDriveZ

Indicates whether the drive for the Z-Axis should be enabled

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