Commit Graph

398 Commits

Author SHA1 Message Date
Jimmy Andrews
2c0204c446 make fracture mode's leaf/cluster selectors only select the leaves/clusters at the current level
#rb rinat.abdrashitov
#preflight 62ab6843633acd4c124b74f6

[CL 20690651 by Jimmy Andrews in ue5-main branch]
2022-06-16 13:56:41 -04:00
Josie Yang
6b15506e58 Replace direct access to SkeletalMesh object from USkinnedMeshComponent with GetSkeletalMesh function
#rb kriss.gossart
#preflight 62aafc9ada0af39a4783930a

[CL 20686007 by Josie Yang in ue5-main branch]
2022-06-16 09:14:04 -04:00
max whitehead
0e1c0ebc1e Geometry Collections replicate initial velocity
- fix GC net dormancy, was assumed to start in DORM_Initial, now checks != Awake as it was sometimes DORM_DormantAll.
[FYI] cedric.caillaud
#preflight 62aa41f0da0af39a4758e570

#ROBOMERGE-AUTHOR: max.whitehead
#ROBOMERGE-SOURCE: CL 20676889 via CL 20677778 via CL 20677871
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v955-20579017)

[CL 20679662 by max whitehead in ue5-main branch]
2022-06-15 20:50:03 -04:00
cedric caillaud
63c1687530 Chaos : GC optimization
- Cache local (GC component space ) bounds reducing game thread cost  when having a lot of non moving GC in a scene
- Make sure the dynamic collection is invalidated only when necessary

#rb brice.criswell, max.whitehead
#preflight 62a92538943e7bb256c66750
#jira none

[CL 20675241 by cedric caillaud in ue5-main branch]
2022-06-15 15:12:35 -04:00
Jimmy Andrews
0f1fcef020 Improve fracture tool selectors:
- Add leaf and cluster selection tools
 - Make children selection not deselect nodes w/ no children
 - Use TSet::Add instead of TArray::AddUnique to create selections

#preflight 62a8b143cf54a658ee150389
#rb rinat.abdrashitov

[CL 20651731 by Jimmy Andrews in ue5-main branch]
2022-06-14 12:44:09 -04:00
cedric caillaud
ea89b40a98 Chaos destruction : add slow moving detection fro Remove on sleep feature
#rb none
#jira none
#preflight 62a8a8481a6b7dcd549af11f

[CL 20650060 by cedric caillaud in ue5-main branch]
2022-06-14 11:45:26 -04:00
Jimmy Andrews
3ea10e4a3d add option to not remove overlaps on geometry collection convex hulls
#rb rinat.abdrashitov
#rb david.hill
#preflight 62a74f44d80693a653de7c89

[CL 20627438 by Jimmy Andrews in ue5-main branch]
2022-06-13 11:05:31 -04:00
cedric caillaud
a7504d89f5 Remove on break
- Added cluster crumbling feature
- Fix localization warnings
- Make sure the delete attribute button refrehes the outliner
- Helper class to encode and decode remval on break packed data

#rb none
#jira UE-156325
#preflight 62a3754870680d6143df0eaf

[CL 20598772 by cedric caillaud in ue5-main branch]
2022-06-10 13:10:44 -04:00
cedric caillaud
a0527989bc Chaos destruction : Remove on break feature
It is possible to assign each piece of a geo collection with a PostBreakTimer and a removal timer
- Added a RemoveOnBreak tool
- Added a Removal column mode to fracture editor outliner
- Optional RemovalOnBreak attribute array on the rest collection  ( can be added or removed through the UI )

#rb jimmy.andrews, brice.criswell
#jira none
#preflight 62a129c4dd5e6b572c66a189

[CL 20583221 by cedric caillaud in ue5-main branch]
2022-06-09 15:31:24 -04:00
cedric caillaud
16cae88d4a Fracture Editor :
- Change display column to column mode
- Rename runtime data collectors classes
- Fix issue where collected damage values were invalid
- Added damage threshold and breaking state to runtime data
- Add refresh button to the outliner

#rb none
#jira none
#preflight 629ed9168f61d191c1e99b6b

[CL 20533218 by cedric caillaud in ue5-main branch]
2022-06-07 01:41:53 -04:00
cedric caillaud
391dc48340 Chaos geometry collection : fix import of external collision to ignore non implicit shapes
#rb none

#ROBOMERGE-AUTHOR: cedric.caillaud
#ROBOMERGE-SOURCE: CL 20529803 via CL 20529819 via CL 20529836
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20531702 by cedric caillaud in ue5-main branch]
2022-06-06 21:10:52 -04:00
cedric caillaud
a0c24e9908 Chaos destruction : add a damage watcher to collect collision impulse from PIE and display them in the outliner
- Add also a drop down for the type of column to display  ( InitialState, RelativeSize, Damages for now )

#rb brice.criswell, jimmy.andrews
#jira none
#preflight 629da2e241542e8cf60ed929

[CL 20522909 by cedric caillaud in ue5-main branch]
2022-06-06 13:01:40 -04:00
cedric caillaud
7090a2cbbd Chaos destruction : import external collision data from create a geometry collection from other geometry collections
#rb none
#jira none
#preflight 629ac618c80cbaebe5f99388

[CL 20498618 by cedric caillaud in ue5-main branch]
2022-06-03 23:13:28 -04:00
cedric caillaud
1e271aad10 Chaos : fix verification logic with replication and cluster groups
#rb trivial
#jira none
#preflight none

[CL 20498495 by cedric caillaud in ue5-main branch]
2022-06-03 22:08:40 -04:00
cedric caillaud
4afbfff5f7 Fix crash when enabling group clustering and replication
#rb none
[FYI] ori.cohen

#ROBOMERGE-AUTHOR: cedric.caillaud
#ROBOMERGE-SOURCE: CL 20489256 via CL 20489262 via CL 20489271
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20491466 by cedric caillaud in ue5-main branch]
2022-06-03 15:40:23 -04:00
Brice Criswell
ed37b71c02 GeometryCollection : Structure change
- Moved AppendStaticMesh and AppendSkeletalMesh to the Engine level
- Moved the Node implementation into GeometryCollectionNodes within the plugin.
#rb trivial
#preflight 6298120a216be32a7627a7e0

[CL 20464135 by Brice Criswell in ue5-main branch]
2022-06-01 21:41:57 -04:00
Benn Gallagher
8757cb3641 Physics interface cleanup.
* Removed deprecated or dead code paths
* Simplified build system setup for physics support
* Deprecated build system flags and unsupported macros

#jira none
#rb Chris.Caulfield, Kriss.Gossart
#preflight 62963ec0fe779f23c8ea0c5e

[CL 20450744 by Benn Gallagher in ue5-main branch]
2022-06-01 06:59:18 -04:00
cedric caillaud
efbfce8de7 Chaos destruction : make geometry collection use the inertia conditioning option
[FYI] chris.caulfield

#ROBOMERGE-AUTHOR: cedric.caillaud
#ROBOMERGE-SOURCE: CL 20443210 via CL 20443211 via CL 20443217
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20449542 by cedric caillaud in ue5-main branch]
2022-06-01 04:25:06 -04:00
Jimmy Andrews
42244fd882 fix crash in Geometry Collection Proxy when we try to use GetPrimitiveSceneInfo() to get the general hitproxy color for the collection, but it returns null
#preflight 62968c1e9d75300f41bfe60a

[CL 20444420 by Jimmy Andrews in ue5-main branch]
2022-05-31 19:24:34 -04:00
Ori Cohen
d0479a0441 Workaround so that we can use live coding with engine geometry collection module. This is a hack until explicit load is not needed
#rb Cedric.Caillaud
#preflight 62952ddffb0fca7e580e9636

[CL 20433052 by Ori Cohen in ue5-main branch]
2022-05-30 17:42:34 -04:00
cedric caillaud
1fcbb82cb7 Chaos destruction : imporvement on the remove on sleep feature
- Now also remove of the piece does not move for a certain amount of time ( velocity based ) ( behind a Cvar )
- Fix bugs with shrinking not going all the way down to zero
- Simplify math for computing off-center scale matrix ( removed most of the Transform conversion and multiplication )
- Internal clusters can now break upon removal
- Passing more info about internal clusters from PT to GT
- More memory efficient structure passed between PT and GT

#rb none
#jira none
#preflight 62918fdddb0a62f25ce74d44

[CL 20403162 by cedric caillaud in ue5-main branch]
2022-05-28 00:20:07 -04:00
max whitehead
5bc4aabca9 Add support for Geometry Collection collision filter changes at runtime
#preflight 628e7d2dc826bd5a7f02ed32
#rb cedric.caillaud

#ROBOMERGE-AUTHOR: max.whitehead
#ROBOMERGE-SOURCE: CL 20387019 via CL 20387027 via CL 20387056
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20388252 by max whitehead in ue5-main branch]
2022-05-26 20:17:19 -04:00
Brice Criswell
ed9aaa85cd GeometryCollection : Fix CIS
#rb trivial
#preflight trivial

[CL 20387776 by Brice Criswell in ue5-main branch]
2022-05-26 19:28:21 -04:00
Brice Criswell
266e38c598 GeometryCollection - Dataflow Editor
- Configure the dataflow asset editor for the geometry collection object. Currently requires the enabling the pvar (p.Chaos.GeometryCollection.DataflowEditor 1)
#rb Cedric.Caillaud, Jimmy.Andrews
#preflight 628fd5838c077c0d66238920
#preflight 628fdc9af622d972b5f45181
#preflight 629002b94f63120d8ef4914c

[CL 20387372 by Brice Criswell in ue5-main branch]
2022-05-26 19:00:40 -04:00
cedric caillaud
5ddbe667f4 Chaos destruction : allow import of collision shapes from static meshes when creating a geometry collection
#rb brice.criswell, ori.cohen
#jira none
#preflight 628dabdcaf7a2e956ba42d3d

[CL 20380362 by cedric caillaud in ue5-main branch]
2022-05-26 12:02:54 -04:00