Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/FContactPairModifier
Description
The contact normal always points away from the second body. E.g., a sphere lying on a flat ground could return a WorldNormal pointing up or down, depending on whether the sphere is the first or second body in the constraint.
| Name | GetWorldNormal |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/ContactModification.h |
| Include Path | #include "Chaos/ContactModification.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/ContactModification.cpp |
FVec3 GetWorldNormal
(
int32 ContactPointIdx
) const
Normal of contact in world space.