michael forot
695d1227af
Rebuild cluster geometry if the GC transform is scaled at runtime
...
#rb cedric.caillaud, michael.bao
[CL 30027786 by michael forot in ue5-main branch]
2023-11-30 18:11:12 -05:00
markus boberg
2b8dbad6d8
Small coding standard fix that failed to merge down after being cherry picked to parent stream and altered there.
...
#rb jeanfrancois.stamour
[CL 30010964 by markus boberg in ue5-main branch]
2023-11-30 04:34:32 -05:00
marc audy
01e7381e04
Fix C4702 warnings
...
#rnx
[CL 29975801 by marc audy in ue5-main branch]
2023-11-28 19:03:48 -05:00
markus boberg
c5d4883efb
Server crash on executing async physics command.
...
Check that the cached lambda function is callable before calling it.
Null check logic in the source function enqueing the lambda.
Use locally cached async physics command struct instead of accessing array each time.
#rb Michael.Forot
[CL 29711242 by markus boberg in ue5-main branch]
2023-11-14 08:57:39 -05:00
jeremy moore
f3aa01fb82
Add ISMPool option to not pay cost of ISM component update and ISMPool Tick associated with preallocation.
...
[CL 29683832 by jeremy moore in ue5-main branch]
2023-11-13 10:09:25 -05:00
michael bao
12eb342dcd
revert previous change to call RegisterForEvents every time we change a notify global event flag - only set the flag directly on the PT directly for breaks
...
#rb cedric.caillaud
[CL 29677753 by michael bao in ue5-main branch]
2023-11-12 17:45:44 -05:00
michael bao
c74837a2fa
geometry collection should track its previously set world transform external so the GT can compute the difference between the two if needed (e.g. if it needs to query the difference prior to the PT->GT sync)
...
#rb cedric.caillaud
[CL 29673947 by michael bao in ue5-main branch]
2023-11-11 16:24:45 -05:00
michael bao
6daadceddd
geometry collection needs to turn on break events at the solver level if either notify breakings or notify global breakings is set to true - also made sure the flag gets set properly for removals and collisions
...
#rb cedric.caillaud, vincent.robert
[CL 29629911 by michael bao in ue5-main branch]
2023-11-09 22:54:29 -05:00
cedric caillaud
4b029f888c
Fix rendering offsets with cluster unions
...
- This is caused by the transform not being properly defined when receiving a ComponentAdded event
- Override ChildToParentUpdated method to update the rendering transform
#rb michael.bao, chris.caulfield, michael.lentine
[CL 29615742 by cedric caillaud in ue5-main branch]
2023-11-09 18:50:49 -05:00
sergio gardeazabal
abf12ea202
[Chaos] Making RefreshCustomRenderer on Geometry Collection Component public so other objects can force an update if needed.
...
Also updated a class to make use of this method until we find a better solution.
[REVIEW] 654bd7ca7236ad045f24f2ce
[CL 29581933 by sergio gardeazabal in ue5-main branch]
2023-11-08 19:23:55 -05:00
benn gallagher
ad527a1560
Fixed ensures when geometry collection ISM pools were updated but their render transform wasn't flagged as dirty.
...
#rb Cedric.Caillaud, Jeremy.Moore
[CL 29558052 by benn gallagher in ue5-main branch]
2023-11-08 08:29:29 -05:00
jeremy moore
d2a0916428
ISMPool, fix issue where preallocation queue contains raw object pointers that can be invalid by the time we process the entries.
...
Use weak object pointers instead.
[CL 29533102 by jeremy moore in ue5-main branch]
2023-11-07 16:19:51 -05:00
marc audy
c3eef33523
Deprecate PhysXIncludes and NvClothIncludes.h
...
[CL 29431392 by marc audy in ue5-main branch]
2023-11-03 19:34:54 -04:00
benn gallagher
0b807dc2c1
Added the ability to set ISM components in Geometry Collection ISM pools to just use their parent bounds and change their transform mode to absolute.
...
This allows the actor containing the ISM components to have full control over the root transforms of each ISM for faster or customised processing.
#rb Cedric.Caillaud, Jeremy.Moore
[CL 29419013 by benn gallagher in ue5-main branch]
2023-11-03 16:01:49 -04:00
titouan deslandes
2a57b8f063
Deprecated COPY_ON_WRITE_ATTRIBUTE and Indirect TManagedArray, removed CopyOnWriteAttributeList saving 200 bytes per GC.
...
Use the RestCollection to access those attributes instead.
#rb cedric.caillaud
[CL 29289224 by titouan deslandes in ue5-main branch]
2023-10-31 16:28:26 -04:00
michael forot
21de6da55b
Call FlushNetDormancy only when some replicated property are changing to avoid replicating all GCs and preventing the repmovement to be replicated
...
#rb michael.bao
[CL 29272717 by michael forot in ue5-main branch]
2023-10-31 09:32:18 -04:00
todd eckert
a9c39581c6
Exposed some setters for various properties we were setting in construction scrips.
...
#rnx
[CL 29265865 by todd eckert in ue5-main branch]
2023-10-31 00:41:24 -04:00
chris caulfield
d0cb9a55f4
Geometry Collection - add OneWayInteractionLevel rather than IsOneWayInteraction to get more control over which particles behave like debris
...
#rb cedric.caillaud, michael.bao
[CL 29257116 by chris caulfield in ue5-main branch]
2023-10-30 19:23:20 -04:00
michael lentine
d3ed2bc54f
Undo //Fortnite/Release-28.00/Engine/Source/Runtime/Experimental/GeometryCollectionEngine/... changelist 29242678
...
#rb none
[CL 29256090 by michael lentine in ue5-main branch]
2023-10-30 18:49:35 -04:00
titouan deslandes
bad8f30386
Deprecated COPY_ON_WRITE_ATTRIBUTE and Indirect TManagedArray, removed CopyOnWriteAttributeList saving 200 bytes per GC.
...
Use the RestCollection to access those attributes instead.
#rb cedric.caillaud, vincent.robert, Benn.Gallagher
[CL 29246315 by titouan deslandes in ue5-main branch]
2023-10-30 15:57:51 -04:00
cedric caillaud
1bc32b81dd
Geometry collection component : make sure physics material can be set while physics state has been created
...
#rb michael.bao, todd.eckert, jon.sourbeer
[CL 29238554 by cedric caillaud in ue5-main branch]
2023-10-30 13:14:08 -04:00
benn gallagher
83be2df6a6
Stop geometry collection components from spending time updating their body instance inherited from primitive component when updating transforms. The geometry collection component controls its own physics transforms internally and doesn't require the body instance.
...
#rb Michael.Bao
[CL 29224722 by benn gallagher in ue5-main branch]
2023-10-29 15:50:12 -04:00
jeremy moore
ce4da3cc1c
Set ISMPool static mesh after seeting material overrides.
...
The static mesh code does PSO precaching which calls Nanite::AuditMaterialsImp() which expects to find the correct override materials.
[CL 29198348 by jeremy moore in ue5-main branch]
2023-10-27 17:11:06 -04:00
todd eckert
59ac23d5d7
Fixed an issue where prefab's were using the wrong physical material
...
see https://jira.it.epicgames.com/browse/PLAY-19518 and https://jira.it.epicgames.com/browse/PLAY-16871
#juno
#rnx
[CL 29166273 by todd eckert in ue5-main branch]
2023-10-26 22:17:13 -04:00
cedric caillaud
1e3697780d
Remove ensure about Nans iwhen getting the root transform until the proxy race condition is properly fixed
...
#rb sergio.gardeazabal, michael.lentine
[CL 29165791 by cedric caillaud in ue5-main branch]
2023-10-26 22:10:43 -04:00