![]() |
ezEngine Release 25.08
|
Sent to physics components that have contact reporting enabled (see ezOnJoltContact::SendContactMsg). More...
#include <PhysicsWorldModule.h>
Public Member Functions | |
EZ_DECLARE_MESSAGE_TYPE (ezMsgPhysicContact, 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 | |
ezVec3 | m_vGlobalPosition |
ezVec3 | m_vNormal |
float | m_fImpactSqr |
Additional Inherited Members | |
![]() | |
static const ezRTTI * | GetStaticRTTI () |
Sent to physics components that have contact reporting enabled (see ezOnJoltContact::SendContactMsg).
Only sent for certain physics object combinations, e.g. debris doesn't trigger this. The reported contact position and normal is an average of the contact manifold. This is mainly meant for less important interactions, like breaking decorative things.