Commit Graph

540 Commits

Author SHA1 Message Date
cedric caillaud
0d10f2feae Geometry collection : fix issues where geometry collection do not properly update the velocity buffer
- this is because the previous transforms are not properly set

#rb jeremy.moore

[CL 36747865 by cedric caillaud in 5.5 branch]
2024-10-01 17:48:47 -04:00
cedric caillaud
e4667121f3 Fix geometry collection component removal logic preventing internal clusters from crumbling into smaller pieces
- HasDynamicInternalClusterParent and HasClusterUnionParent are mutually exclusive and testing both was resulting in getting always false for computing HasDynamicInternalClusterParent

[CL 36747843 by cedric caillaud in 5.5 branch]
2024-10-01 17:48:28 -04:00
cedric caillaud
e103e963e0 Dataflow / Geometry collection : fix crash when geometry collection are empty
- this also allow terminal node to actually properly process empty collection

#jira UE-223273
#rb brice.criswell, michael.forot, gustav.melich

[CL 36289407 by cedric caillaud in 5.5 branch]
2024-09-13 21:28:49 -04:00
Ryan Hummer
4af2fd066d Updating Dev-Release-5.5 from Main at CL #36144969
#okforversepublic

[CL 36146571 by Ryan Hummer in Dev-5.5 branch]
2024-09-10 10:26:02 -04:00
Michael Forot
dcf4d77016 6- Chaos rigid dataflow simulation support
#rb cedric.caillaud
#jira none

#virtualized

[CL 36009893 by Michael Forot in ue5-main branch]
2024-09-04 11:01:32 -04:00
cedric caillaud
e641026ef0 Add recent fixes ( 35911153 ) behind cvars
- p.Chaos.GC.CustomRendererHiddenActorFix ( true by default )
- Juno.DoNotHideActorWithGCWhenDestroyed ( true by default )

#rb aidan.mcdu, robert.taylor

[CL 35941225 by cedric caillaud in ue5-main branch]
2024-08-30 18:57:46 -04:00
todd eckert
2256e3f14c [Backout] - CL35901297
[FYI] Todd.Eckert
Original CL Desc
-----------------------------------------------------------------
Fixed an issue when running a construction script that was causing geometry collection component's custom render to try and spawn actors

#rb cedric.caillaud

[CL 35924892 by todd eckert in ue5-main branch]
2024-08-30 09:53:33 -04:00
cedric caillaud
83dddda3e9 Geometry collection : Add GetLocalRestTransform blueprint function
[CL 35912879 by cedric caillaud in ue5-main branch]
2024-08-29 23:06:41 -04:00
cedric caillaud
b951f7b9d2 Geometry collection : add support for SetActorHiidenInGame when using custom renderers
- make sure to account for the hidden flag of the actor in the RefreshCustomrenderer method
- also change game specific code to account for this new behaviour

#rb aidan.mcdu, todd.eckert, jeremy.moore
[FYI] shaun.kime, kurtis.schmidt

[CL 35911176 by cedric caillaud in ue5-main branch]
2024-08-29 20:22:39 -04:00
todd eckert
e0476cb17e Fixed an issue when running a construction script that was causing geometry collection component's custom render to try and spawn actors
#rb cedric.caillaud

[CL 35902519 by todd eckert in ue5-main branch]
2024-08-29 14:52:25 -04:00
sebastien lussier
93c6874ab9 World Partition - HLODs - Improved support for Geometry Collection components
* Will now rely on the Geometry Collection ISM Pool components to generate the HLOD, allowing PerInstanceData to be taken into account in the HLOD
* As a side effect, this allow the computation of a valid "HLOD hash"  for HLODs from GC on building actors - previously only correct for JunoBuildingProp
#jira UE-220875
#rb Jeremy.Moore, Richard.Malo

[CL 35825057 by sebastien lussier in ue5-main branch]
2024-08-27 10:37:53 -04:00
bill henderson
b1005ac923 New Geometry Collection option to always update active transforms - so vehicle parts can fall off and remain on the ground rather than following the root actors movement
#rb cedric.caillaud

[CL 35692033 by bill henderson in ue5-main branch]
2024-08-21 05:26:23 -04:00
cedric caillaud
6b40c56288 Geometry Collection : Fix crash when adding a geometry collection to a blueprint that contains embedded geometry
- crash was caused by the fact that the owner of a component is null when added to a blueprint
- added extra checks to avoid crashing when this is the case

#jira UE-219818
[FYI] jimmy.andrews, gustav.melich, kazuhisa.minato

[CL 35428749 by cedric caillaud in ue5-main branch]
2024-08-09 13:25:32 -04:00
markus boberg
4d2e0e17ae [NetPhysics] Refactor physics replication cache to run async.
- Also makes GeometryCollectionComponent take solver frame from the marshaling manager instead of the replication cache since it's not using the cache for the states.

#rb Benn.Gallagher

[CL 35302926 by markus boberg in ue5-main branch]
2024-08-05 04:39:03 -04:00
cedric caillaud
ad20c033f3 Geometry collection : expose a way for blueprint to set the component space transform of a specific roiot proxy mesh
[CL 35125615 by cedric caillaud in ue5-main branch]
2024-07-26 20:47:26 -04:00
mattias hornlund
6fff4f9c51 Iris / Juno
- Temporary change to make GeometryCollectionRepDynamicData, GeometryCollectionRepData and GeometryCollectionRepStateData to use LastResortNetSerializer

#rb Peter.Engstrom

[CL 34272063 by mattias hornlund in ue5-main branch]
2024-06-11 06:55:07 -04:00
cedric caillaud
10fbeb2a28 Geometry collection : Memory optimization : Remove simplicials from dynamic collection avoiding extra expensive copies and extra memory
this saves a total 16 bytes per bone ( Physics thread + game thread dyanmic collection )  per geometry collection component

#rb Benn.Gallagher, titouan.deslandes, vincent.robert

[CL 34080384 by cedric caillaud in ue5-main branch]
2024-06-03 18:44:53 -04:00
cedric caillaud
1be79a061b geometry collection : add support for changing enable gravity flag at runtime
[FYI] chris.caulfield

[CL 33928320 by cedric caillaud in ue5-main branch]
2024-05-27 14:23:58 -04:00
cedric caillaud
1e68725496 geometry collection - memory optimization - allocate field data on demand , remove unused arrays and packed existing private members
- saves 320 bytes from the proxy
- cleaned up the buffer command API for the proxy to be clear about what can be called from the game or physics thread

#rb vincent.robert, benn.gallagher, brice.criswell, titouan.deslandes

[CL 33900856 by cedric caillaud in ue5-main branch]
2024-05-24 14:14:39 -04:00
titouan deslandes
2222f0c382 Geometry collection - memory optimization
* packed and re-ordered members in GeometryCollectionComponent, saving 64 bytes
* packed and re-ordered members in GeometryCollectionISMPoolRenderer, saving 16 bytes
* packed and re-ordered members in IPhysicsProxyBase, saving 8 bytes
* packed and re-ordered members in ClusterUnionReplicatedProxyComponent, saving 16 bytes

#rb cedric.caillaud

[CL 33894015 by titouan deslandes in ue5-main branch]
2024-05-24 10:31:28 -04:00
cedric caillaud
bd29cafbab Geometry collection - memory optimization
* packed and re-ordered data in structures to minimize padding as much as possible
* reduce simulation parameters data by 80 bytes ( 112 if stripping the deprecated members )
* remove dead code

#rb titouan.deslandes

[CL 33871845 by cedric caillaud in ue5-main branch]
2024-05-23 15:40:38 -04:00
jimmy andrews
636bfbf3fc Remove bone selected material reference from UGeometryCollection, and clean up some references / accesses to it and legacy methods referring to its (now nonexistent) material ID
#rb cedric.caillaud

[CL 33836478 by jimmy andrews in ue5-main branch]
2024-05-22 13:38:07 -04:00
cedric caillaud
473b476c90 Fix broken chaos cache replay
- symptoms : Cache would fail to set the geometry collection to be kinematic when replaying , causing also the pose to be reset regardless of the start time
- fix : make sure to note recreate the physics state if it was already created, if it was , make sure to recreate the physics proxy as well


#rb Benn.Gallagher, vincent.robert
#jira UE-214150

[CL 33520578 by cedric caillaud in ue5-main branch]
2024-05-08 14:18:26 -04:00
jimmy andrews
5aecf12a04 Make the geometry collection neighbor/contact selection work on clusters + add supporting methods to enumerate neighbors w/ support for non-leaf transforms
+ make corresponding contact select dataflow nodes use the updated neighbor selection logic
#rb cedric.caillaud

[CL 33462920 by jimmy andrews in ue5-main branch]
2024-05-06 13:57:40 -04:00
jeremy moore
9b03886e49 Fix issue with blueprint thumbnails not rendering geometry collections with custom renderer.
For thumbnail rendering OnCreatePhysicsState() won't be called and so we need to rely on component registration to call RefreshCustomRenderer().
[FYI] cedric.caillaud

[CL 33253607 by jeremy moore in ue5-main branch]
2024-04-25 20:39:14 -04:00