UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SimulationSpace.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#include "Chaos/Core.h"
5
6namespace Chaos
7{
15 {
16 public:
24
25 // All properties should be in simulation space
30 };
31
45 {
46 public:
61
66
67 UE_DEPRECATED(5.1, "MasterAlpha is deprecated - please use bEnabled")
69
70 UE_DEPRECATED(5.6, "Alpha is deprecated - please use bEnabled")
72
73 // Enable or disable simulation space.
75
76 // How much of the simulation frame's linear acceleration to pass onto the particles
78
79 // How much of the coriolis force to apply to the particles
81
82 // How much of the centrifugal force to apply to the particles
84
85 // How much of the euler force to apply to the particles
87
88 // How much of the simulation frame's angular acceleration to pass onto the particles
90
91 // How much of the simulation frame's linear velocity to pass onto the particles (linear ether drag)
93
94 // How much of the simulation frame's angular velocity to pass onto the particles (angular ether drag)
96
97 // An additional linear drag on top of the EtherDrag that can be set on the physics asset. Vector in simulation local space.
99 };
100
101}
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define PRAGMA_ENABLE_DEPRECATION_WARNINGS
Definition GenericPlatformCompilerPreSetup.h:12
#define PRAGMA_DISABLE_DEPRECATION_WARNINGS
Definition GenericPlatformCompilerPreSetup.h:8
Definition SimulationSpace.h:45
FReal LinearAccelerationAlpha
Definition SimulationSpace.h:77
FVec3 ExternalLinearEtherDrag
Definition SimulationSpace.h:98
FReal EulerAlpha
Definition SimulationSpace.h:86
FReal CentrifugalAlpha
Definition SimulationSpace.h:83
FReal LinearVelocityAlpha
Definition SimulationSpace.h:92
FReal CoriolisAlpha
Definition SimulationSpace.h:80
FReal AngularVelocityAlpha
Definition SimulationSpace.h:95
FSimulationSpaceSettings & operator=(const FSimulationSpaceSettings &)=default
FSimulationSpaceSettings()
Definition SimulationSpace.h:47
PRAGMA_DISABLE_DEPRECATION_WARNINGS FSimulationSpaceSettings(const FSimulationSpaceSettings &)=default
PRAGMA_ENABLE_DEPRECATION_WARNINGS FReal MasterAlpha
Definition SimulationSpace.h:68
FReal AngularAccelerationAlpha
Definition SimulationSpace.h:89
bool bEnabled
Definition SimulationSpace.h:74
FReal Alpha
Definition SimulationSpace.h:71
Definition SimulationSpace.h:15
FVec3 AngularVelocity
Definition SimulationSpace.h:29
FVec3 LinearVelocity
Definition SimulationSpace.h:28
FVec3 LinearAcceleration
Definition SimulationSpace.h:26
FSimulationSpace()
Definition SimulationSpace.h:17
FVec3 AngularAcceleration
Definition SimulationSpace.h:27
Definition CollisionKeys.h:59
Definition SkeletalMeshComponent.h:307
FRealDouble FReal
Definition Real.h:22
@ false
Definition radaudio_common.h:23