Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/PhysicsEngine > API/Runtime/Engine/PhysicsEngine/TWeightedLatticeImplicitObject
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/WeightedLatticeImplicitObject.h |
| Include | #include "Chaos/WeightedLatticeImplicitObject.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/WeightedLatticeImplicitObject.cpp |
FReal PhiWithNormalAndSurfacePoint
&40;
const FVec3 & X,
FVec3 & Normal,
FEmbeddingCoordinate & SurfaceCoord,
bool bIncludeEmptyCells
&41; const
Remarks
Note that if x is in an empty cell / outside the deformed lattice and bIncludeEmptyCells is false, this will return UE_BIG_NUMBER and Normal will be unchanged. SurfaceCoord will be invalid. When bIncludeEmptyCells is true, the closest non-empty lattice cell will be used to find the closest surface point.