Commit Graph

87 Commits

Author SHA1 Message Date
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
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
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
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
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
evgenii babinets
b98b25b1ba Enabling ISPC on more supporting platforms, but defaulting all per-system toggles to off besides cloth, since most of those show a regression so we'll start conservative and enable only for cloth for now.
This saves about ~40% of the cloth simulation cost.

#rb jeff.newquist

#ROBOMERGE-OWNER: evgenii.babinets
#ROBOMERGE-AUTHOR: evgenii.babinets
#ROBOMERGE-SOURCE: CL 20294167 via CL 20294181 via CL 20295375 via CL 20295420
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20305169 by evgenii babinets in ue5-main branch]
2022-05-20 18:55:54 -04:00
max whitehead
7fd2214055 Update B_Creative_MoveTool_BlueprintPreviewer to support previewing selected GeometryCollectionComponents.
#preflight 627e904e0f72dc21c7d35647
#rb kris.pelley
[FYI] cory.kolek

#ROBOMERGE-AUTHOR: max.whitehead
#ROBOMERGE-SOURCE: CL 20189055 via CL 20189058 via CL 20189080
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20191614 by max whitehead in ue5-main branch]
2022-05-13 18:57:23 -04:00
cedric caillaud
a156b97f48 Chaos : harden manageArray Api for better detection of modification to the array
this is a step towards more automated recompoutation of some attributes dependent on others

#rb brice.criswell
#jira none
#preflight 627ae07e7e5f24d1ede8e730

[CL 20131611 by cedric caillaud in ue5-main branch]
2022-05-10 18:56:28 -04:00
Ori Cohen
9476d7773f Made it so geometry collections can replicate from blueprints as well as handle initial dormancy
#rb Benn.Gallagher
#preflight 6272a6a6e543c1dae422f5a2

[CL 20043630 by Ori Cohen in ue5-main branch]
2022-05-04 12:47:38 -04:00
Ori Cohen
82f41b028f Fix static analysis
#rb none
#preflight none

#jira UE-150236

[CL 19922073 by Ori Cohen in ue5-main branch]
2022-04-26 12:09:47 -04:00
Ori Cohen
23e09060ca Updated GeometryCollection replication so that going in and out of relevancy works and does a hard snap.
#rb Benn.Gallagher
#preflight none

[CL 19904911 by Ori Cohen in ue5-main branch]
2022-04-25 13:09:18 -04:00
cedric caillaud
5e58cf6135 Chaos : add AddImpulse & AddRadialImpulse to GC component
- also add new field type : LinearImpulse

#rb brice.criswell, michael.lentine, max.whitehead
#jira none
#preflight 625621e15f20a0a34d8e2e20

[CL 19741468 by cedric caillaud in ue5-main branch]
2022-04-13 12:39:04 -04:00
cedric caillaud
0349062ead Chaos : Implement AddForce, AddRadialForce and AddTorqueInRadians for GeometryCollectioComponent
#rb brice.criswell, michael.lentine, max.whitehead
#jira none
#preflight 6255f6249a0f82a31531fa0f

[CL 19731743 by cedric caillaud in ue5-main branch]
2022-04-12 19:07:33 -04:00
brice criswell
5c54056c67 Chaos : NiagaraDataInterface
- Update to support trailing data

#rb gustav.melich
#jira UE-143800
#preflight 621d13735d17e9af12f53623

#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 19177740 in //UE5/Release-5.0/... via CL 19180089
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19203665 by brice criswell in ue5-main branch]
2022-03-01 14:33:59 -05:00
cedric caillaud
f72a86d165 Add access to dynamic collection from Geometry Collection Component
#jira UE-143604
#rb gustav.melich
#preflight 62168bf4a45a91013f30f4fa


#ROBOMERGE-AUTHOR: cedric.caillaud
#ROBOMERGE-SOURCE: CL 19100529 via CL 19100682 via CL 19102327 via CL 19102584 via CL 19109951
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19147728 by cedric caillaud in ue5-main branch]
2022-02-25 10:34:43 -05:00
jimmy andrews
da70e477e1 fix issues with selection / clustering tools interaction with fracture mode 'view level', causing invalid selections of bones that are not visible
#rb rinat.abdrashitov
#rb brice.criswell
#jira UE-142057
#preflight 62059243b84973a2bb669efd

#ROBOMERGE-AUTHOR: jimmy.andrews
#ROBOMERGE-SOURCE: CL 18944824 in //UE5/Release-5.0/... via CL 18944996 via CL 18946131
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18946280 by jimmy andrews in ue5-main branch]
2022-02-10 18:36:20 -05:00
brice criswell
a09c8ab306 Engine : Default Destruciton Physics Material
- Added a default material for destructable objects.
#rb Benn.Gallagher
#jira UE-134121
#preflight 61fd9712f370b0d3111f77ee

#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 18892341 in //UE5/Release-5.0/... via CL 18892952 via CL 18893310
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18893342 by brice criswell in ue5-main branch]
2022-02-07 16:26:46 -05:00
jimmy andrews
1e877479e8 fix fracture reset sometimes highlighting bones that are not selected
#rnx
#preflight 61f9b6d62251c6fb596c9207

#ROBOMERGE-AUTHOR: jimmy.andrews
#ROBOMERGE-SOURCE: CL 18817060 in //UE5/Release-5.0/... via CL 18817082 via CL 18822849
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18824677 by jimmy andrews in ue5-main branch]
2022-02-02 07:57:02 -05:00
jimmy andrews
fcd733205d use FGeometryCollectionEdit more consistently and make sure convex hulls are updated where needed (and not updated when not needed)
#rb brice.criswell
#rnx
#preflight 61f871ec41414fb013dd56d9

#ROBOMERGE-AUTHOR: jimmy.andrews
#ROBOMERGE-SOURCE: CL 18801705 in //UE5/Release-5.0/... via CL 18802150 via CL 18821532
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18821616 by jimmy andrews in ue5-main branch]
2022-02-02 01:45:10 -05:00
brice criswell
7044f3e8c0 Geometry Collection - Editing Updates
- Updated collection to support enabled flag
- Updated modify to only invalidate the UObject
- Added UObject->Modify to ComponentEdit constructor.
#rb Jimmy.Andrews
#preflight 61f827dd5a026d2d19a88a7e

#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 18793559 in //UE5/Release-5.0/... via CL 18793715 via CL 18794559
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18795047 by brice criswell in ue5-main branch]
2022-01-31 14:58:13 -05:00
brice criswell
fc6c04a825 GeometryCollection : Convex Generation
- Defaulting the geometry collection assets collision geometry to convex
- Updating the convex bodies during the destruction of the geometry collections edit object.
#rb none
[FYI] Jimmy.Andrews
#preflight 61f480557a7f0d39ddfe1e88

#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 18792035 in //UE5/Release-5.0/... via CL 18792214 via CL 18792488
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18792572 by brice criswell in ue5-main branch]
2022-01-31 12:57:29 -05:00