![]() |
ezEngine
Release 25.03
|
Used by components that do rope simulation and rendering. More...
#include <Declarations.h>
Public Member Functions | |
EZ_DECLARE_MESSAGE_TYPE (ezMsgRopePoseUpdated, ezMessage) | |
![]() | |
virtual const ezRTTI * | GetDynamicRTTI () const |
bool | IsInstanceOf (const ezRTTI *pType) const |
Returns whether the type of this instance is of the given type or derived from it. | |
template<typename T > | |
EZ_ALWAYS_INLINE bool | IsInstanceOf () const |
Returns whether the type of this instance is of the given type or derived from it. | |
Public Attributes | |
ezArrayPtr< const ezTransform > | m_LinkTransforms |
Additional Inherited Members | |
![]() | |
static const ezRTTI * | GetStaticRTTI () |
Used by components that do rope simulation and rendering.
The rope simulation component sends this message to components attached to the same game object, every time there is a new rope pose. There is no skeleton information, since all joints/bones are connected as one long string.
For a rope with N segments, N+1 poses are sent. The last pose may use the same rotation as the one before.