3#include <JoltPlugin/Constraints/JoltConstraintComponent.h>
25 virtual void CreateContstraintType(JPH::Body* pBody0, JPH::Body* pBody1)
override;
26 virtual void ApplySettings()
final override;
27 virtual bool ExceededBreakingPoint()
final override;
37 plAngle GetConeAngle()
const {
return m_ConeAngle; }
Float wrapper struct for a safe usage and conversions of angles.
Definition Angle.h:10
Definition ComponentManager.h:88
Implements a conical physics constraint.
Definition JoltConeConstraintComponent.h:11
Base class for all Jolt physics joints (constraints).
Definition JoltConstraintComponent.h:73
virtual void DeserializeComponent(plWorldReader &inout_stream) override
Override this to load the current state of the component from the given stream.
Definition JoltConstraintComponent.cpp:214
virtual void SerializeComponent(plWorldWriter &inout_stream) const override
Override this to save the current state of the component to the given stream.
Definition JoltConstraintComponent.cpp:194
Reads a world description from a stream. Allows to instantiate that world multiple times in different...
Definition WorldReader.h:47
Stores an entire plWorld in a stream.
Definition WorldWriter.h:13