UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
JointConstraintsCVars.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#include "CoreMinimal.h"
5
6#if !defined(CHAOS_JOINT_SOLVER_ISPC_ENABLED_DEFAULT)
7#define CHAOS_JOINT_SOLVER_ISPC_ENABLED_DEFAULT 0
8#endif
9
10// Support run-time toggling on supported platforms in non-shipping configurations
11#if !INTEL_ISPC || UE_BUILD_SHIPPING
12static constexpr bool bChaos_Joint_ISPC_Enabled = INTEL_ISPC && CHAOS_JOINT_SOLVER_ISPC_ENABLED_DEFAULT;
13#else
14extern bool bChaos_Joint_ISPC_Enabled;
15#endif
16
18
20
22
24
26
28
30
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
float Chaos_Joint_DegenerateRotationLimit
Definition JointConstraintsCVars.cpp:10
bool bChaos_Joint_Plasticity_ClampToLimits
Definition JointConstraintsCVars.cpp:19
#define CHAOS_JOINT_SOLVER_ISPC_ENABLED_DEFAULT
Definition JointConstraintsCVars.h:7
float Chaos_Joint_VelProjectionAlpha
Definition JointConstraintsCVars.cpp:13
bool bChaos_Joint_UseCachedSolver
bool bChaos_Joint_EarlyOut_Enabled
bool bChaos_Joint_DisableSoftLimits
Definition JointConstraintsCVars.cpp:16
float Chaos_Joint_LinearVelocityThresholdToApplyRestitution
Definition JointConstraintsCVars.cpp:22
float Chaos_Joint_AngularVelocityThresholdToApplyRestitution
Definition JointConstraintsCVars.cpp:25