PhysicalAnimationProfile

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "PhysicsEngine/PhysicalAnimationComponent.h"

Syntax

static const FConstraintProfileProperties PhysicalAnimationProfile = []() { FConstraintProfileProperties RetProfile; RetProfile.LinearLimit.XMotion = LCM_Free; RetProfile.LinearLimit.YMotion = LCM_Free; RetProfile.LinearLimit.ZMotion = LCM_Free; RetProfile.ConeLimit.Swing1Motion = ACM_Free; RetProfile.ConeLimit.Swing2Motion = ACM_Free; RetProfile.TwistLimit.TwistMotion = ACM_Free; RetProfile.LinearDrive.XDrive.bEnablePositionDrive = true; RetProfile.LinearDrive.XDrive.bEnableVelocityDrive = true; RetProfile.LinearDrive.YDrive.bEnablePositionDrive = true; RetProfile.LinearDrive.YDrive.bEnableVelocityDrive = true; RetProfile.LinearDrive.ZDrive.bEnablePositionDrive = true; RetProfile.LinearDrive.ZDrive.bEnableVelocityDrive = true; RetProfile.AngularDrive.SlerpDrive.bEnablePositionDrive = true; RetProfile.AngularDrive.SlerpDrive.bEnableVelocityDrive = true; RetProfile.AngularDrive.AngularDriveMode = EAngularDriveMode::SLERP; return RetProfile; }();

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