Commit Graph

90 Commits

Author SHA1 Message Date
cedric caillaud
b112fae3bd Chaos : Deprecate remove on fracture feature
- update headless chaos unit test

#jira none
#rb benn.gallagher, brice.criswell, chris.caulfield
#preflight 6322accc29254beccb14bbfe

[CL 22035762 by cedric caillaud in ue5-main branch]
2022-09-15 15:14:33 -04:00
cedric caillaud
9a1c2929e1 Chaos : fix cook warning related to selection material in geometry collection
- Make sure to remove reference to the selection material in the material array when cooking and saving

#rb brice.criswell, jimmy.andrews
#jira UE-161748
#preflight 630574cca45b007ea2925d8d

[CL 21572919 by cedric caillaud in ue5-main branch]
2022-08-25 17:14:44 -04:00
cedric caillaud
7cb43e2d16 Chaos : break and shock damage propapgation
- add per component and geo collection asset damage propagation data
- store damage propapagtion info at the proxy level ( sim parameters )
- refactor clustering code to properly account for procxy suim parameters
- add shock propagation model complementary to the break propagation model

#rb none
#jira none
#fyi brice.criswell
#preflight 63053a185a5d4e46243141d9

[CL 21520742 by cedric caillaud in ue5-main branch]
2022-08-23 17:17:36 -04:00
Jimmy Andrews
e9cefb6e41 prevent crash if nanite data is null on geometry collection object
#preflight 62fa681f153b17e74635fb4d

[CL 21388535 by Jimmy Andrews in ue5-main branch]
2022-08-15 12:44:23 -04:00
Jimmy Andrews
4b7243cb76 Changes to make transient / un-Saved properties work more logically for Geometry Collection data:
- make the ManagedArrayCollection 'Saved' flag control whether the whole property is saved, rather than just its data

- when transacting, save everything (ignore the Saved flag)

- also when loading, remove properties that were not in the map we loaded from

- stop manually removing some unsaved attributes, as the Saved flag should take care of that instead

- stop loading from the DDC (after already loading from the transaction history) for every undo/redo transaction

#preflight 62c75a60b3789302b1bb7d3e
#rb cedric.caillaud, brice.criswell, max.whitehead

[CL 21007351 by Jimmy Andrews in ue5-main branch]
2022-07-08 10:54:36 -04:00
Jimmy Andrews
0acb496b28 Add a Convex OverlapRemovalShrinkPercent variable to the geometry collection convex generation settings, to compute overlap removal on scaled-down convex hulls (without baking that scale into the hull).
#rb cedric.caillaud
#preflight 62b5d6470110bdb3314505b7
#robomerge EngineMerge

[CL 20810090 by Jimmy Andrews in ue5-main branch]
2022-06-24 11:44:32 -04:00
Jimmy Andrews
243c9e16e4 change 'remove overlaps' fracture convex generation option to be an enum w/ more options -- specifically to add option to only remove overlaps on clusters, or overlaps of clusters w/ other clusters
#preflight 62b3847408627e1ed3958e1a
#robomerge EngineMerge

[CL 20782295 by Jimmy Andrews in ue5-main branch]
2022-06-22 17:36:03 -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
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
cedric caillaud
d8a335e82f Chaos : add new connection graph generation method ( delaunay filtered by bounds )
#rb none
#jira none
#preflight 6287e7b22c34da686af5b808

[CL 20301053 by cedric caillaud in ue5-main branch]
2022-05-20 15:20:13 -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
cedric caillaud
f2c5b1b18b Chaos : detsruction : better damage threshold generation
- damage threshold are now by default generated per GC piece and no more at the cluster level propagating to children
- added a checkbox to keep the compatibility with older assets
- this allow for finer artist control and make the size specific parameters to be more effective

#rb brice.criswell, max.whitehead
#jira none
#preflight 626a26172735a2c0eaeb68be

[CL 19973874 by cedric caillaud in ue5-main branch]
2022-04-28 20:20:32 -04:00
cedric caillaud
dd00e4a56a Chaos : Make sure the simulation sizespecific array has the default MaxSize to be always higher than anything the user will set
#fyi brice.criswell
#jira none
#preflight none

[CL 19857510 by cedric caillaud in ue5-main branch]
2022-04-21 18:50:41 -04:00
cedric caillaud
16ff9fa5ed Chaos : fix issue where adding an element to the size specific array from the UI adds sometimes two
#rb brice.criswell
#jira none
#preflight 6242a1a6637925b5d3a28c7a

[CL 19539244 by cedric caillaud in ue5-main branch]
2022-03-29 02:16:42 -04:00
brice criswell
5ec1f87b61 Geometry Collection : Size Specific Defaults
- Don't update to convex if the older file does not have convex properties.
- Fix nullptr access in the shapes debug drawing.

#rb Jimmy.andrews
#jira ue-141312
#preflight 62057662a155a4cddac6b16a

#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 18943097 in //UE5/Release-5.0/... via CL 18943327 via CL 18943558
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18943920 by brice criswell in ue5-main branch]
2022-02-10 17:08:59 -05:00
brice criswell
0b040d11b6 GeometryCollection : Properties
- Adding damage threshold back to the GeometryCollectionObject.

#rb michael.lentine
#jira UE-126295
#preflight 620406f98e53010a186e6ea8

#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 18922992 in //UE5/Release-5.0/... via CL 18927108 via CL 18928820
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v916-18915374)

[CL 18929260 by brice criswell in ue5-main branch]
2022-02-09 19:28:14 -05:00
brice criswell
29a39de958 Chaos - Verbose Warnings
- Removed verbose warning for destructable default material.
- Add pvar bGeometryCollectionEnableForcedConvexGenerationInSerialize to disable forced convex generation on a project.

#rb michael.lentine
#jira ue-141312
#preflight 620317b39e10f6918e164354

#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 18913749 in //UE5/Release-5.0/... via CL 18920106 via CL 18920875
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v916-18915374)

[CL 18921570 by brice criswell in ue5-main branch]
2022-02-09 13:27:35 -05:00
brice criswell
45b89d52f8 GeometryCollection : Property updates
- Convex threshold defaulted to 0
- MassAsDensity is now true in uasset.

#preflight 62019bb8e85c7a08bbc67f49
#rb Michael.Lentine
#jira UE-141658

#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 18903280 in //UE5/Release-5.0/... via CL 18903394 via CL 18903620
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v912-18901109)

[CL 18903632 by brice criswell in ue5-main branch]
2022-02-08 11:57:43 -05:00
brice criswell
75e6f5d45b Chaos : Serialization Parity with 4.27-Chaos
- Updated PhysicsObjectVersion to reflect changes in 4.27-Chaos and ensure backwards combability.
#rb benn.gallagher
#jira UE-134115
#preflight 61fdbf54e65336d14555ccb7
#lockdown marc.audy

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

[CL 18884838 by brice criswell in ue5-main branch]
2022-02-07 09:08:07 -05:00
brice criswell
3fe4b3b0fa GeometryCollection : Convex
- Auto populate convex geometry in older files.
#jira UE-134117
#rb Benn.Gallagher, Marc.Audy
[FYI] Jimmy.Andrews
#preflight 61fc496aa540d6e61bbbcd36
#lockdown michael.lentine

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

[CL 18853849 by brice criswell in ue5-main branch]
2022-02-03 17:40:00 -05:00
brian karis
de6db094d8 Added KeepTrianglePercent and TrimRelativeError properties to Nanite static mesh settings.
These both trim detail from the Nanite data that is stored to disk and can be used to optimize disk size after import. Should be a super useful tool late in production.

#rb rune.stubbe
#lockdown michal.valient
#preflight 61fb25e6033a864b77e11ed6

#ROBOMERGE-AUTHOR: brian.karis
#ROBOMERGE-SOURCE: CL 18838594 in //UE5/Release-5.0/... via CL 18838602 via CL 18838937
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18838962 by brian karis in ue5-main branch]
2022-02-02 21:14:51 -05:00
brian karis
a208fbc50b Changed name on Nanite Proxy mesh to Nanite Fallback mesh.
Changed fallback settings to be largely error based with new property FallbackRelativeError.

Nanite builder will now provide the LOD fallbacks for all autogenerated LOD levels which is far faster than generating them from scratch.

#rb graham.wihlidal
#preflight 61f9e1fe9e4d23cd93b8d556

#ROBOMERGE-AUTHOR: brian.karis
#ROBOMERGE-SOURCE: CL 18820056 in //UE5/Release-5.0/... via CL 18820070 via CL 18822916
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18825066 by brian karis in ue5-main branch]
2022-02-02 08:19:56 -05:00
brice criswell
3e50c2b89e Chaos : Geometry Collection
-Defaults Updated
[FYI] jimmy.andrews
#preflight 61f9a91c162e627eab4701b2

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

[CL 18824365 by brice criswell in ue5-main branch]
2022-02-02 07:39:24 -05:00
andrew davidson
8e95b10069 Fix FVector2D variant casts - Runtime
Submitted on behalf of fred.kimberley
#rb andy.davidson
#preflight 61f8729a5a026d2d19bb9ca6
#preflight 61f87a025a026d2d19be76ed

#ROBOMERGE-OWNER: andrew.davidson
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18802361 in //UE5/Release-5.0/... via CL 18802891 via CL 18821557
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18821641 by andrew davidson in ue5-main branch]
2022-02-02 01:47:07 -05:00