Commit Graph

162 Commits

Author SHA1 Message Date
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
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
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
cedric caillaud
a847b97fa2 Chaos destruction : Make sure geometry component inherits damagethreshold settings from rest collection asset
#rb trivial
#jira none
#preflight none

[CL 20349865 by cedric caillaud in ue5-main branch]
2022-05-24 12:10:43 -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
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
31d702e7cc Add support for the Start Awake flag for geometry collections
#rb none
#jira none
#preflight 627e7f290d2d1f6ed8d8360b

[CL 20183182 by cedric caillaud in ue5-main branch]
2022-05-13 12:55:08 -04:00
max whitehead
aff6fd52b2 Set OwnerComponent on GeometryCollection's BodyInstance, fixes component ID not set in filter data, fixing ignore component SQ param for GC.
#preflight 627ac55210766ef8c10c8c2c
#rb cedric.caillaud

#ROBOMERGE-AUTHOR: max.whitehead
#ROBOMERGE-SOURCE: CL 20143294 via CL 20143672 via CL 20144386
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20148106 by max whitehead in ue5-main branch]
2022-05-11 15:55:55 -04:00
cedric caillaud
f3c0ea7460 Fix non-nanite GC not properly updating their bounds in editor when using sequencer
#rb brice.criswell
#jira UE-147330
#preflight 627b207fde22b71c01953634

[CL 20143564 by cedric caillaud in ue5-main branch]
2022-05-11 13:06:19 -04:00
cedric caillaud
e9527f4af6 Chaos destruction : fix support for per-component gravity flag for geometry collections ( only accounted for at initialization, does not yet work at runtime )
#rb trivial
#jira none
#preflight 627af7a9c42338be6534cdca

[CL 20132209 by cedric caillaud in ue5-main branch]
2022-05-10 19:47:19 -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
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
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
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
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
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