Also disabled creating constraints from the PhysicsAssetUtils level by just checking if UPhysicsConstraintTemplate are allowed to be created. This allowed me to remove the code modifying the UPhysicsAssetGenerationSettings defaults at the ValkyrieEditor level.
#rb Sergio.Gardeazabal jeanluc.corenthin
[CL 26198225 by alex mcadams in 5.3 branch]
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]
Chaos cloth (the primary user of level sets) can penetrate arbitrarily deep inside the collider and still needs a good Phi and Normal value, rather than only having accurate values within a narrow band. This makes calculating the levelset more expensive (a one time cost), but in practice, it's not really noticeable.
#preflight 63bcaae80b7fcef8b094135d
#rb tyson.brochu
[CL 23630951 by Alex McAdams in ue5-main branch]
- try to make the output grid resolution better match the specified input resolution
- don't try to render the grid if resolution is too high (debug rendering can really start to slow things down)
- fix a bug generating a mesh for solid rendering of the level set cells
#jira UE-167098
#preflight 634eee0a4d3101c0ea37ac6f
[CL 22608178 by tyson brochu in ue5-main branch]
- Enable users to view and edit the parent and child frame transforms of constraints in the PhAT details panel
- Constraint transforms are represented as a position and a rotator in the details panel (internally they are represented as a position and a pair of orthonormal vectors)
- Constraint transforms can optionally be displayed in the frame of the assocaited bone OR relative to the default (snapped) transforms
- Allow parent / child transform position / orientation componenets to be 'snapped' to defaults individually
- Support using modifier keys to manipulate only the child frame transform via a viewport widget
#jira UE-119744
#jira UE-119741
#rb [at]Thomas.Sarkanen, [at]sebastian.nordgren
#preflight 62f13b9a23003b62a3d4c277
#ROBOMERGE-AUTHOR: nick.brett
#ROBOMERGE-SOURCE: CL 21282618 via CL 21282632 via CL 21282638
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
[CL 21283069 by nick brett in ue5-main branch]
#jira UE-122078
#rb Andrew.Davidson, Colin.McGinley
#preflight standard build
#ROBOMERGE-AUTHOR: fred.kimberley
#ROBOMERGE-SOURCE: CL 18817999 in //UE5/Release-5.0/... via CL 18818012 via CL 18822871
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)
[CL 18824721 by fred kimberley in ue5-main branch]
Also remove unnecessary allocations by allowing the async task to assume ownership of the vertex and index arrays passed to it.
#rb Andy.Davidson, Cedric.Caillaud
#jira UE-125187
[CL 17448234 by Richard TalbotWatkin in ue5-main branch]