Commit Graph

330 Commits

Author SHA1 Message Date
cedric caillaud
81dcd73543 Geometry collection : fix rest transform not properly reflected in the viewport when set in a construction script
#rb trivial

[CL 27908068 by cedric caillaud in ue5-main branch]
2023-09-15 02:52:13 -04:00
cedric caillaud
8b6bc26d90 Attempt to fix Arm64 build ( from CL 27902529)
#rb trivial

[CL 27902945 by cedric caillaud in ue5-main branch]
2023-09-14 20:12:47 -04:00
cedric caillaud
46a8973fe8 Make Component Space transform to be computed on demand
- Hide the array beghind an API that expose root transform and all transform tracking a dirty state

#rb benn.gallagher

[CL 27902559 by cedric caillaud in ue5-main branch]
2023-09-14 19:55:19 -04:00
michael bao
94111e71f5 geometry collections need to reload collision profiles when the primitive component body instance collision settings change
#rb cedric.caillaud

[CL 27860431 by michael bao in ue5-main branch]
2023-09-13 19:51:19 -04:00
cedric caillaud
acadc236cf Cluster union : add native multicast events for faster dispatch
Also provide a TSet version of SetPerParticleCollisionProfileName to avoid converting TSet to arrays

#rb michael.bao

[CL 27734720 by cedric caillaud in ue5-main branch]
2023-09-08 20:02:06 -04:00
cedric caillaud
86dd65778d Compute component space transform optimization
Store breadth first order indices for transform on the rest collection

#rb benn.gallagher, vincent.robert, brice.criswell
[FYI] jeremy.moore

[CL 27652487 by cedric caillaud in ue5-main branch]
2023-09-06 17:00:17 -04:00
jeremy moore
2c1068f688 Add support to set a custom instance data slot on geometry collection ISM pool instances.
[CL 27630881 by jeremy moore in ue5-main branch]
2023-09-06 08:12:44 -04:00
charles lefebvre
b0af9175f1 Add missing const with TObjectPtr
#rnx
#rb Steve.Robb

[CL 27563342 by charles lefebvre in ue5-main branch]
2023-09-01 15:13:01 -04:00
aris theophanidis
09a5db431c Addition of a boolean to control navigation relevancy
#rb Mieszko.Zielinski

[CL 27561521 by aris theophanidis in ue5-main branch]
2023-09-01 14:15:22 -04:00
dan oconnor
acc3fbcc61 Fix interface UGeometryCollectionExternalRenderInterface usage, should be using TScriptInterface as per disfunctional UHT error
#rb Zousar.Shaker

[CL 27511684 by dan oconnor in ue5-main branch]
2023-08-30 22:47:59 -04:00
cedric caillaud
d5c8184cbb Geometry collectoion : make sure that RestTransform is only set when necessary ( from SetRestState )
#rb benn.gallagher, vincent.robert, michael.bao, brice.criswell

[CL 27433985 by cedric caillaud in ue5-main branch]
2023-08-28 21:37:08 -04:00
cedric caillaud
ec44ea6090 Geometry collection : Add "use material damage modifier" option to GC component
[FYI] jim.vanallen, jack.oakman
#rb none

[CL 27423704 by cedric caillaud in ue5-main branch]
2023-08-28 16:37:00 -04:00
cedric caillaud
5c4faf514a Make ISM Pool actor allocation be per level
This fixes an issue where geometry collection using custom renderer do not work with bRequireFullVisibilityToRender

#rb jeremy.moore

[CL 27383072 by cedric caillaud in ue5-main branch]
2023-08-25 13:36:52 -04:00
cedric caillaud
7ab87da6e5 Geometry collection optimization : Deprecated collision related attributes in dynamic collection
- Saves 3 x uint32 per bone per dynamic collection ( x2 )
- CollisionMask and CollisionStructureID were not used at all
- CollisionGroup was used but set to the same value for all bones
- also deprecated fuinction and enums in GeometryCollectionEngineTypes

#rb benn.gallagher, brice.criswell, michael.bao

[CL 27353047 by cedric caillaud in ue5-main branch]
2023-08-24 15:10:22 -04:00
cedric caillaud
a695e89dcc Geometry collection : add bDensityFromPhysicsMaterial to the geometry collection component
- This is set from the geometry collection asset when calling SetRestCollection and can be changed after
- Also fix the way we apply the mass multiplier to inertia

#rb michael.bao, steven.barnett

[CL 27315231 by cedric caillaud in ue5-main branch]
2023-08-23 14:57:14 -04:00
michael bao
4506e9d0f8 geometry collections can now specify a collision profile per particle/level that loads the data collision profile
#rb cedric.caillaud

[CL 27164330 by michael bao in ue5-main branch]
2023-08-16 22:53:58 -04:00
jeremy moore
e4b96a0b1d Add garbage collection to ISM pool.
[CL 27054469 by jeremy moore in ue5-main branch]
2023-08-11 20:20:15 -04:00
jeremy moore
625bf43130 Add option to spatially divide ISMs in the ISMPool.
Enable ISM pooling by default so that spatially placed ISMs can be recycled easily when moving through a streaming world.

[CL 27044402 by jeremy moore in ue5-main branch]
2023-08-11 16:28:11 -04:00
cedric caillaud
61000b99b1 Add damage modifier to physics material and an option in Geometry Collection asset to opt for it
#rb steven.barnett

[CL 26918152 by cedric caillaud in ue5-main branch]
2023-08-08 11:31:47 -04:00
cedric caillaud
9f6b22cf34 Geometry Collection : Add ability to disable root proxy rendering at runtime when using custom renderer
#rb michael.bao, jeremy.moore

[CL 26727982 by cedric caillaud in ue5-main branch]
2023-07-31 20:36:40 -04:00
jeremy moore
49cab1e61d Set MDC stat categories for some known subsystems.
[CL 26725198 by jeremy moore in ue5-main branch]
2023-07-31 18:48:44 -04:00
cedric caillaud
c7fa6954f0 Fix mass calculation for geometry collections when overriding materials on the component
#rb michael.bao, steven.barnett

[CL 26679228 by cedric caillaud in ue5-main branch]
2023-07-28 13:39:56 -04:00
michael bao
f968ee975f fix old style geometry collection events (break/crumbling/removal events) to still fire even if we set the notification boolean after the initial registration
#rb cedric.caillaud, vincent.robert

[CL 26557021 by michael bao in ue5-main branch]
2023-07-24 17:42:08 -04:00
cedric caillaud
1b2d4697ac Geometry collection : override Primitive component GetMass method for geometry collections
Added display of mass in geometry collection physics editor properties

[FYI] michael.bao, brice.criswell, jim.vanallen, jack.oakman
#rb trivial

[CL 26474980 by cedric caillaud in ue5-main branch]
2023-07-19 19:24:20 -04:00
aris theophanidis
81acaeddd3 Addition of a JunoPhysicsObjectNavigationComponent managing navigation updates for dynamic platforms using physics sleep and wake events as well as transform updates.
#rb michael.bao
#rb Yoan.StAmant

[CL 26471561 by aris theophanidis in ue5-main branch]
2023-07-19 17:15:59 -04:00