Commit Graph

328 Commits

Author SHA1 Message Date
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
8975ed02ea Chaos : Fixed crash in PIE when setting trailing event on certain geometry collection
#rb brice.criswell
#jira UE-150985
#preflight 6271d8c0e95a8b960e87b4c4

[CL 20054195 by cedric caillaud in ue5-main branch]
2022-05-04 22:12:17 -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
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
Ori Cohen
6e39819f01 Allow components to register and unregister async physics tick.
Make it so GeometryCollection doesn't register async physics tick unless replication is needed and the object simulates

#rb Cedric.Caillaud
#preflight 6268330f853fdb6fddc33c82

[CL 19925401 by Ori Cohen in ue5-main branch]
2022-04-26 14:28:07 -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
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
Tiantian Xie
aa420c06ae Fix geometry collection regression
#jira none
#rb Chris.Kulla
#preflight 626097e2886befa9a5d1897d

[CL 19841838 by Tiantian Xie in ue5-main branch]
2022-04-20 19:47:30 -04:00
Jimmy Andrews
4ef74ccc3e make fracture 'hide' array only hide already-visible faces, and never show intended-invisible faces
#jira UE-146807
#rb lonnie.li
#preflight 625d9e8e691f49969eae9914

[CL 19789991 by Jimmy Andrews in ue5-main branch]
2022-04-18 13:43:49 -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
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
marc audy
cd7919c4e7 Correct some inconsistencies with Dev-EngineMerge
#rnx

#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 19531108 in //UE5/Release-Engine-Staging/...
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19532836 by marc audy in ue5-main branch]
2022-03-28 16:31:36 -04:00
graham wihlidal
de68814fa8 Fixed Nanite material slot table crash when mesh section count is larger than max encountered material index
#rb rune.stubbe
#jira UE-145322
#preflight 6233a5f5e12e0da4a532f57c

#ROBOMERGE-OWNER: graham.wihlidal
#ROBOMERGE-AUTHOR: graham.wihlidal
#ROBOMERGE-SOURCE: CL 19427916 in //UE5/Release-5.0/... via CL 19429441
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v930-19419903)

[CL 19432577 by graham wihlidal in ue5-main branch]
2022-03-18 02:34:24 -04:00
graham wihlidal
5f046c9d99 Fixed Nanite geometry collection scene proxy crash due to missing raster bin material (GCs still don't support bins, but they now remap raster bin to the default material bin correctly)
#rb trivial
#jira UE-143318, UE-143997, UE-144374
#preflight skip
#robomerge FNNC

[CL 19225378 by graham wihlidal in ue5-main branch]
2022-03-02 14:03:59 -05: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
brice criswell
bdf6c2a323 Chaos : Clustering
-Only set the initial active clusters to sleep when the Object Type is initialized as sleeping

#rb Cedric.Caillaud
#jira UE-108735
#preflight 6217e23fe27ba405e86147a3

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

[CL 19154435 by brice criswell in ue5-main branch]
2022-02-25 15:15:52 -05:00
robert millar
5811293e2a Add TargetRules.bFNameOutlineNumber as an option to reduce the size of FName by 4 bytes by storing the number in the name table.
Adds a define UE_FNAME_OUTLINE_NUMBER.
Removes of FName, FMinimalName from memory image support. Adds of FMemoryImageName.
Removal of FMinimalName operator<<, all fields made private, size made variable.
All fields of FScriptName made private.
Added console commands for dumping numbered/unnumbered names and stats.

#rb johan.torp

#ROBOMERGE-OWNER: robert.millar
#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 19058026 via CL 19058611 via CL 19058656 via CL 19061727 via CL 19061740 via CL 19064047
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v918-19018356)

[CL 19066701 by robert millar in ue5-main branch]
2022-02-21 02:35:48 -05:00
graham wihlidal
cf25af65a7 Replace Raster/ShadingMaterial WeakObjectkPtr with FMaterialRenderProxy: accessing WeakObjectPtr on render thread led to a race condition.
#rb Graham.Wihlidal
#preflight 620ed139e8554a6f64ef8115
#jira UE-141348

#ushell-cherrypick of 19048514 by swarm

[CL 19061926 by graham wihlidal in ue5-main branch]
2022-02-19 00:16:02 -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
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
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