8 Commits

Author SHA1 Message Date
ryan schmidt
c8acfc09b0 ModelingTools: add support for DynamicMeshComponent Simple Collision in Mesh to Collision Tool, Convert Tool, and Transfer Tool.
ModelingComponents: Add ShapeSet member for passing simple collision shapes in FCreateMeshObjectParams, support in relevant functions in UEditorModelingObjectsCreationAPI. Add UE::Geometry::GetCollisionShapes() functions in ComponentCollisionUtil.h, and update various functions to support DynamicMeshComponent

DynamicMeshComponent: change signature of GetSimpleCollisionShapes() to return const ref

#rb david.hill
#preflight 6421ca54973e609670a408c7

[CL 24819452 by ryan schmidt in ue5-main branch]
2023-03-28 11:19:32 -04:00
frederic doll
a3110d9d6e Make sure we clear the NavCollision before updating it within StaticMesh tools, to make sure the data is computed properly and the DDC is updated
#rb mieszko.zielinski, ryan.schmidt
#preflight 63d80999f6267152017dc401

[CL 23933248 by frederic doll in ue5-main branch]
2023-01-31 13:59:41 -05:00
henrik karlsson
b5b86c796c This change is a strategical submit for a coming change that removes lots of includes in headers that are included by many files. This change contains adding of includes in files that previously got those includes transitively from other inclkudes
#preflight 6355d4940313c24974b2107b
#rb none

[CL 22783162 by henrik karlsson in ue5-main branch]
2022-10-26 12:57:32 -04:00
bryan sefcik
117472780d Fixed include paths.
#jira
#preflight 634ee62fe746026e48eb077e

[CL 22621687 by bryan sefcik in ue5-main branch]
2022-10-19 06:39:08 -04:00
jimmy andrews
54044d3747 work around crash in physics DDC code by splitting BakeRS and Pivot tool transactions if the object has simple collision w/ convex hulls: First make a transaction with the simple collision update, then make a transaction with the static mesh change.
Only do this for the convex hull case, because the other cases do not seem to crash and splitting the transaction is not ideal.

#jira UE-158466
#rb david.hill
#preflight 633b145def7739456517a156

[CL 22322286 by jimmy andrews in ue5-main branch]
2022-10-03 20:40:33 -04:00
Jimmy Andrews
6fe4d60ab1 Handle mesh inversions due to transforms in ComponentCollisionUtil + add missing transform calls
#rb ryan.schmidt
#preflight 630d2ad8e54ec9d58164fba7

[CL 21707736 by Jimmy Andrews in ue5-main branch]
2022-08-30 15:41:50 -04:00
Ryan Schmidt
e579178cda ModelingComponents: refactor conversion code from ExtractCollisionGeometryTool into static functions ConvertSimpleCollisionToMeshes() and ConvertComplexCollisionToMeshes()
GeometryScript: add CopyCollisionMeshesFromObject function, extracts meshed collision shapes or complex collision from various object types as a UDynamicMesh
#rb none
#preflight 62ffc256c85b7fef22f671cc

[CL 21460263 by Ryan Schmidt in ue5-main branch]
2022-08-19 13:20:33 -04:00
michael balzer
a49c74b915 MeshModelingToolset: Move ModelingOperators and ModelingOperatorsEditorOnly modules out of experimental plugin
#jira UETOOL-3823
#rb lonnie.li
#preflight 617b1aea5794a500014f544a

#ROBOMERGE-AUTHOR: michael.balzer
#ROBOMERGE-SOURCE: CL 17972239 in //UE5/Release-5.0/... via CL 17972248
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v885-17909292)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17972256 by michael balzer in ue5-release-engine-test branch]
2021-10-28 19:47:45 -04:00