Commit Graph

207 Commits

Author SHA1 Message Date
jimmy andrews
9cd97b8d1e make bone colors always recompute on actor selection, to work around stale bone colors causing bones to appear selected when they are not.
+ fix FScopedColorEdit::Sanitize() clearing the bUpdated flag when nothing was sanitized.

#rb rinat.abdrashitov
#rb cedric.caillaud
#preflight 6335a1813041fbb566554beb

[CL 22262791 by jimmy andrews in ue5-main branch]
2022-09-29 23:42:41 -04:00
ryan hummer
8f1c149a68 [Backout] - CL22210368
#preflight 63344a591a232c6fbf9ad3bb

[FYI] cedric.caillaud
Original CL Desc
-----------------------------------------------------------------
Chaos : fix character movement interaction with geometry collections

#rb benn.gallagher, chris.caulfield, brice.criswell
#jira none
#preflight 63335015e11ae0b19c224cb4

[CL 22232349 by ryan hummer in ue5-main branch]
2022-09-28 17:59:03 -04:00
cedric caillaud
eb7fb75f68 Chaos : fix character movement interaction with geometry collections
#rb benn.gallagher, chris.caulfield, brice.criswell
#jira none
#preflight 63335015e11ae0b19c224cb4

[CL 22226851 by cedric caillaud in ue5-main branch]
2022-09-28 14:02:24 -04:00
marc audy
311f7464bf Updated ../Engine/Source/Runtime/... to inline gen.cpp files
Before:
3648 unity files
Total CPU Time: 47886.140625 s
Total time in Parallel executor: 498.81 seconds

After:
3548 unity files
Total CPU Time: 46643.828125 s
Total time in Parallel executor: 486.06 seconds

#jira
#preflight

[CL 22173263 by marc audy in ue5-main branch]
2022-09-24 13:57:58 -04:00
cedric caillaud
c1996c20c6 Chaos : Add GC component blue print functions
- CrumbleActiveClusters
- RemoveAllAnchors
- Also fixed a potential crash in fracture editor

#rb none
#preflight 632d013aa4769ad714d6cdc2

[CL 22173113 by cedric caillaud in ue5-main branch]
2022-09-24 13:28:05 -04:00
cedric caillaud
94d3ff5257 Fracture editor : better handling of existing vertex color with the bone color display option
- When ShowBoneColors option is off display vertex color

#rb jimmy.andrews
#jira UE-163379
#preflight 6329423fb40000c8f04f0dcb

[CL 22104713 by cedric caillaud in ue5-main branch]
2022-09-20 18:48:26 -04:00
cedric caillaud
7c7730284f Chaos geometry collection : add asset side ability to use size specific data and apply propgate to instance when placing it in a level
#rb brice.criswell
#jira none
#preflight 6324b5f88131e92d65f2132d

[CL 22064938 by cedric caillaud in ue5-main branch]
2022-09-16 21:25:31 -04:00
cedric caillaud
0991f3ab53 Chaos : fix damage threshold not being set from asset when adding it to a level ( got wrongly commented out with a previous CL )
#rb trivial
#jira none
#preflight none

[CL 22050251 by cedric caillaud in ue5-main branch]
2022-09-16 11:31:36 -04:00
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
a7f17d399a Chaos: replication imporvement
- Add a timer based hard snap for updating cluster position on the client
- Change remove on break to be replication aware to make sure server authoritative cluster cannot be broken by the client

#rb none
#preflight 63215a28b602881e8e03c4a6

[CL 22011198 by cedric caillaud in ue5-main branch]
2022-09-14 13:58:55 -04:00
jimmy andrews
bf1646ed4c make fracture editor more robust to invalid selections
#rb cedric.caillaud
#preflight 631b5b372b7fe03eb6faa73a

[CL 21924660 by jimmy andrews in ue5-main branch]
2022-09-09 14:15:27 -04:00
cedric caillaud
4d8371449d Chaos : geometry collection : fix removal logic for internal clusters
- better check for internal cluster parent and its state
- refactor logic for both remove on sleep and remove on break
- reverted previous fix that was not accounting for some of special cases ( CL 21715207 )

#rb none
#jira none
#preflight 6317ec50ab25bb91f5091cf9

[CL 21837890 by cedric caillaud in ue5-main branch]
2022-09-06 21:29:52 -04:00
cedric caillaud
b316aac562 Chaos destruction : fix internal clusters remove on break behavior
- Unbroken children of internal clusters do not get removed on break anymore

#rb none
#jira none
#preflight 630eac57a416f6df25eabee0

[CL 21715207 by cedric caillaud in ue5-main branch]
2022-08-30 21:32:37 -04:00
cedric caillaud
b9ebee6662 Chaos : fix body instance warning for geomtry collection when calling SetSsimulatePhysics
- make sure we do not set the OwnerComponent before calling the body instance matching function

#rb none
#jira UE-154615
#preflight 63092788e41c77ba7a231746

[CL 21597917 by cedric caillaud in ue5-main branch]
2022-08-26 16:19:48 -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
cedric caillaud
337d00d897 Chaos : geometry collection : now expose sockets from bone names (experimental )
#robomerge EngineMerge

#rb none
#jira none
#preflight 62da08424b6d775f5f21050c

[CL 21214002 by cedric caillaud in ue5-main branch]
2022-07-21 22:26:08 -04:00
Jimmy Andrews
c04af22c23 Guard against Levels attribute not being present on geometry collection in various fracture tools/utilities
#preflight 62d889723c3df3239096f6b2
#rb cedric.caillaud

[CL 21196031 by Jimmy Andrews in ue5-main branch]
2022-07-20 20:17:14 -04:00
cedric caillaud
7f7dc6842e Replication : add internal cluster information to rep clusters
#rb max.whitehead
#preflight 62d5d9f947779a730a48fa9b

#ROBOMERGE-OWNER: cedric.caillaud
#ROBOMERGE-AUTHOR: cedric.caillaud
#ROBOMERGE-SOURCE: CL 21164636 via CL 21165746 via CL 21168913
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21182699 by cedric caillaud in ue5-main branch]
2022-07-20 12:20:09 -04:00
cedric caillaud
572e15d50e Chaos : fix crash with level attribute not being present when copy to physics thread collection happens
#jira none
#preflight 62d6eaf4c0180d80719d74b9
#fyi max.whitehead, bill.henderson
#robomerge EngineMerge

[CL 21164998 by cedric caillaud in ue5-main branch]
2022-07-19 14:11:45 -04:00
cedric caillaud
950d997b41 Chaos geometry collection : Add crumbling event
#rb max.whitehead, brice.criswell
#jira none
#preflight 62cdc362b90bf5396903ec36
#robomerge EngineMerge

[CL 21064286 by cedric caillaud in ue5-main branch]
2022-07-12 17:47:42 -04:00
cedric caillaud
709a69620e Chaos : geometry collection : fix crash in replication code when using embedded geometry
[FYI] ori.cohen, max.whitehead

#ROBOMERGE-OWNER: cedric.caillaud
#ROBOMERGE-AUTHOR: cedric.caillaud
#ROBOMERGE-SOURCE: CL 21017609 via CL 21017668 via CL 21017737
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21023889 by cedric caillaud in ue5-main branch]
2022-07-09 14:05:18 -04:00
devlin willis
85f654e877 Resolve error C2872: 'FSphere': ambiguous symbol
I encountered this state locally, specifying the type explicitly should resolve this

[FYI] cedric.caillaud
#rnx

#ROBOMERGE-OWNER: devlin.willis
#ROBOMERGE-AUTHOR: devlin.willis
#ROBOMERGE-SOURCE: CL 21012113 via CL 21013020 via CL 21013711
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21023807 by devlin willis in ue5-main branch]
2022-07-09 14:03:32 -04:00
Ben Marsh
fc92871a7e Fix static analysis warning (value used before being checked).
#fyi max.whitehead
#preflight none

[CL 21009808 by Ben Marsh in ue5-main branch]
2022-07-08 13:09:18 -04:00
cedric caillaud
9f63c4cd12 Chaos geometry collection: add anchored property
- add context menu to set a transform to be anchored
- add new array to clustered particle to be marked as anchored
- changed UpdateKinematicProperty to account for anchored flag

#rb brice.criswell, jimmy.andrews, harsha.reddy
#jira none
#preflight 62c74d63324817d81488b05e
#robomerge EngineMerge

[CL 20993384 by cedric caillaud in ue5-main branch]
2022-07-07 17:38:17 -04:00
max whitehead
e2b97e41a1 Implement Geometry Collection replication abandon cluster above level.
Add counters for replication fracture/cluster counts.
Compute GC level attribute during cook and serialize.
#preflight 62c6074e2a05d4f55b291751
#rb cedric.caillaud

#ROBOMERGE-AUTHOR: max.whitehead
#ROBOMERGE-SOURCE: CL 20985796 via CL 20985858 via CL 20986088
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 20989016 by max whitehead in ue5-main branch]
2022-07-07 14:41:38 -04:00