26 static constexpr uint32 cFixedToWorld = 0xffffffff;
77 bool FixInvalidScales();
83 void SaveBinaryState(
StreamOut &inStream,
bool inSaveShapes,
bool inSaveGroupFilter)
const;
#define JPH_EXPORT
Definition Core.h:271
unsigned int uint
Definition Core.h:481
#define JPH_NAMESPACE_END
Definition Core.h:414
std::uint32_t uint32
Definition Core.h:484
#define JPH_NAMESPACE_BEGIN
Definition Core.h:408
#define JPH_DECLARE_SERIALIZABLE_NON_VIRTUAL(linkage, class_name)
Definition SerializableObject.h:80
Settings for constructing a rigid body.
Definition BodyCreationSettings.h:31
A constraint and how it is connected to the bodies in the scene.
Definition PhysicsScene.h:46
uint32 mBody1
Index of first body (in mBodies)
Definition PhysicsScene.h:54
RefConst< TwoBodyConstraintSettings > mSettings
Constraint settings.
Definition PhysicsScene.h:53
ConnectedConstraint()=default
ConnectedConstraint(const TwoBodyConstraintSettings *inSettings, uint inBody1, uint inBody2)
Definition PhysicsScene.h:51
uint32 mBody2
Index of second body (in mBodies)
Definition PhysicsScene.h:55
Contains the creation settings of a set of bodies.
Definition PhysicsScene.h:18
Array< BodyCreationSettings > & GetBodies()
Definition PhysicsScene.h:42
size_t GetNumSoftBodies() const
Get number of bodies in this scene.
Definition PhysicsScene.h:66
size_t GetNumConstraints() const
Get number of constraints in this scene.
Definition PhysicsScene.h:59
const Array< ConnectedConstraint > & GetConstraints() const
Access to the constraints for this scene.
Definition PhysicsScene.h:62
Array< SoftBodyCreationSettings > & GetSoftBodies()
Definition PhysicsScene.h:70
size_t GetNumBodies() const
Get number of bodies in this scene.
Definition PhysicsScene.h:38
Array< ConnectedConstraint > & GetConstraints()
Definition PhysicsScene.h:63
const Array< BodyCreationSettings > & GetBodies() const
Access to the body settings for this scene.
Definition PhysicsScene.h:41
const Array< SoftBodyCreationSettings > & GetSoftBodies() const
Access to the soft body settings for this scene.
Definition PhysicsScene.h:69
Definition PhysicsSystem.h:30
Definition Reference.h:163
Definition Reference.h:35
Helper class that either contains a valid result or an error.
Definition Result.h:12
Definition SoftBodyCreationSettings.h:18
Simple binary input stream.
Definition StreamIn.h:13
Simple binary output stream.
Definition StreamOut.h:13
Base class for settings for all constraints that involve 2 bodies.
Definition TwoBodyConstraint.h:16