Navigation
Unreal Engine C++ API Reference > Runtime > Chaos > Chaos
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/PBDJointConstraintData.h |
Include | #include "Chaos/PBDJointConstraintData.h" |
Syntax
namespace Chaos
{
enum EJointConstraintFlags
&123;
JointTransforms = static_cast<uint64_t>(1) << 0,
CollisionEnabled = static_cast<uint64_t>(1) << 1,
Projection = static_cast<uint64_t>(1) << 2,
ParentInvMassScale = static_cast<uint64_t>(1) << 3,
LinearBreakForce = static_cast<uint64_t>(1) << 4,
AngularBreakTorque = static_cast<uint64_t>(1) << 5,
UserData = static_cast<uint64_t>(1) << 6,
LinearDrive = static_cast<uint64_t>(1) << 7,
AngularDrive = static_cast<uint64_t>(1) << 8,
Stiffness = static_cast<uint64_t>(1) << 9,
Limits = static_cast<uint64_t>(1) << 10,
DummyFlag,
&125;
}
Values
Name | Description |
---|---|
JointTransforms | |
CollisionEnabled | |
Projection | |
ParentInvMassScale | |
LinearBreakForce | |
AngularBreakTorque | |
UserData | |
LinearDrive | |
AngularDrive | |
Stiffness | |
Limits | |
DummyFlag |
Remarks
Forward declarations.
DEPRECATED STUFF BELOW HERE.
Copyright Epic Games, Inc.All Rights Reserved.
This is a proxy for not allowing the above to be checked in - CIS should fail if it is left enabled.
Copyright Epic Games, Inc. All Rights Reserved.
Supported flags for Chaos filter, shares some flags with EPhysXFilterDataFlags Shared flags should be kept in sync until unified. LEGACY CODE Kept around for serialization of old data. Most of the API has been removed, except what is needed to convert to the new format. See ConvexHalfEdgeStructureData.h for the replacement.
This is an approximation but only collides with spheres in the velocity direction which can hurt compared to all directions when it comes to thickness
todo: -proper suspension setup for resting position - decide on parameters i.e. use SuspensionMaxRaise/SuspensionMaxDrop?? -natural frequency stuff -defaults
todo: Not really making use of this yet. Tire nuances more advanced than current simulation which just requires one friction value
Typical gear ratios: Reverse −4.181, 1st 3.818, 2nd 2.294, 3rd 1.500, 4th 1.133, 5th 0.911 Source: Georg Rill. Road Vehicle Dynamics: Fundamentals and Modeling (Ground Vehicle Engineering Series) (p. 121). CRC Press.