Commit Graph

3 Commits

Author SHA1 Message Date
Alex McAdams
613b0638b9 Add Skinned Level Set Physics type.
This adds a new Chaos Implicit Object TWeightedLatticeImplicitObject which can wrap any (bounded) rigid implicit object with a weighted lattice. The lattice deforms via Linear Blend Skinning and is used to approximate deformation of the wrapped rigid implicit object.

A new physics asset FKShapeElem type has been added: the FKSkinnedLevelSet which holds a TWeightedLatticeImplicitObject<FLevelSet>. The PhysicsAssetEditor has been updated to generate this for skeletal meshes. Skinned level sets can be generated from a subset of bones in the skeletal mesh. Weights are transferred by Poisson diffusing weights on the surface to the volumetric lattice points.

There is limited debug draw and the asset generation workflow likely will need iteration.

#preflight 63d9b7f48505ea6b1fd4abb4
#rb kriss.gossart

[CL 23950693 by Alex McAdams in ue5-main branch]
2023-02-01 12:00:49 -05:00
tyson brochu
e84463686d SkeletalMeshEditor: add option to use level sets when running "Generate All Bodies"
#jira UE-167098
#rb kriss.gossart
#preflight 634dae93305a762e7e58bdf2

[CL 22576877 by tyson brochu in ue5-main branch]
2022-10-17 16:34:23 -04:00
Alexis Matte
cb5d41fc7e Allow Physics asset to be a developper module with no dependencecies on any editor module.
#jira UETOOL-3603
#rb richard.talbotwatkin
#preflight 60d1e95f78c3b000010f6005

[CL 16743468 by Alexis Matte in ue5-main branch]
2021-06-22 11:12:23 -04:00