Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/FPBDCollisionConstraint
Description
Restore the properties of a collision from the properties of another. Used by the rewind/resim system when restoring a collision constraint that was saved (and called MakeCopy). This takes care not to overwrite any data maintained for the use of other systems (the ContainerCookie, Graph data, etc)
| Name | RestoreFrom |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Collision/PBDCollisionConstraint.h |
| Include Path | #include "Chaos/Collision/PBDCollisionConstraint.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/Collision/PBDCollisionConstraint.cpp |
void RestoreFrom
(
const FPBDCollisionConstraint & Source
)