Commit Graph

528 Commits

Author SHA1 Message Date
vincent robert
254c03faa4 Fix crash in Material.
Physics Thread was accessing the material list from the Game Thread

#rb Benn.Gallagher

[CL 36299280 by vincent robert in 5.5 branch]
2024-09-16 08:43:01 -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
richard malo
4aa42a7322 [Chaos] Added an experimental option (disabled by default) that allows the initialization of FBodyInstances outside of the GameThread (using UE_CHAOS_ASYNC_INITBODY_ENABLED 1).
#jira UE-222156
#rb Benn.Gallagher, cedric.caillaud, JeanFrancois.Dube

[CL 35964445 by richard malo in ue5-main branch]
2024-09-03 08:07:11 -04:00
bill henderson
5ff7e8522b Modular Vehicle Changes/Fixes
* Make reverse a regular control input
* Add hysteresis option to gear change
* Add option to offset wheel force position
* Fix animation bug relating to grabbing output from physics state when there is no lerp to between current and next states

#rb tom.waterson

[CL 35703847 by bill henderson in ue5-main branch]
2024-08-21 11:27:31 -04:00
joseph mcintyre
e8953c6673 [HeadlessChaos] ConvertToNonProbe test and trivial change to ConvertToProbe
- Add in ContactModification_NonProbe test case
- Modified existing ContactModification_Probe testcase to check for CubeB (CCD)

Disabling both tests at the moment as they're failing due to:
- UE-218719 (Probe)
- UE-216793 (Non-Probe)

#rnx
#rb Benn.Gallagher

[CL 35533573 by joseph mcintyre in ue5-main branch]
2024-08-14 10:30:44 -04:00
cedric caillaud
2e3a2783b5 Headless chaos : add test for chaos cache track compression logic
#rb benn.gallagher, michael.forot, brice.criswell

[CL 34621461 by cedric caillaud in ue5-main branch]
2024-06-24 17:17:04 -04:00
vincent robert
9c88e3a651 Fix sweep test with big triangle mesh
- Add a double precision GJK version.
- Change the Simplex size from a VectorInt to a int32, previously it was done to save some branching operations, but compare to the load and store operations it was not worth it.
- This solution is only for triangle mesh. Height field never triggered this issue because it is usually composed of small triangles. However in the editor the plane shape generates a big triangle mesh which cause this issue when user add it for the entire world.

#jira UE-207144
#rb Benn.Gallagher

[CL 34206018 by vincent robert in ue5-main branch]
2024-06-07 12:15:47 -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
benn gallagher
b9be604a2e Remove unused module from HeadlessChaos
[CL 33970270 by benn gallagher in ue5-main branch]
2024-05-29 08:13: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
benn gallagher
622037e20e Fixed HeadlessChaos after GC memory optimizations
[FYI] cedric.caillaud

[CL 33890986 by benn gallagher in ue5-main branch]
2024-05-24 08:05:58 -04:00
bill henderson
cff5ea6491 Fix CIS in Headless Chaos Test project. This file was missing from a previous CL33855917
#rb tom.waterson

[CL 33858198 by bill henderson in ue5-main branch]
2024-05-23 07:42:35 -04:00
markus boberg
020929c93d [NetPhysics] Optimize memory, only create the derived render interpolation API that handles error corrections for proxies that actively use it.
- Also fix bug where if two physics ticks had been processed between game ticks, the error correction interpolation would be wrong due to not decaying the error in discrete steps.
- Also increased the directional decay, making the error decay faster if the object is moving against the error.

#rb tom.waterson

[CL 33856571 by markus boberg in ue5-main branch]
2024-05-23 04:51:41 -04:00
vincent robert
290f10f2cb Fix Event Manager in Single Buffer Mode
#jira UE-214607
#rb cedric.caillaud, benn.gallagher

[CL 33621404 by vincent robert in ue5-main branch]
2024-05-14 01:10:31 -04:00
yushan han
7062668e71 ChaosFlesh: Fix HeadlessChaos, ComputeFiberField parameters
#rb Brice.Criswell
#jira none

[CL 33551933 by yushan han in ue5-main branch]
2024-05-09 13:50:09 -04:00
bill henderson
5535b13b25 Modular vehicle control input refactor
#rb tom.waterson, scott.lindeneau

[CL 33507859 by bill henderson in ue5-main branch]
2024-05-08 04:52:38 -04:00
chris constantinescu
84bb87d719 Rrestrict test metadata to test mode
Step verified job 66390cb0242b321d4c9d98a6
#jira UE-214088

[CL 33461215 by chris constantinescu in ue5-main branch]
2024-05-06 13:09:50 -04:00
chris constantinescu
5d2d569cb1 Use optional arguments and Extend/Expand pattern for Macros to reduce LLT xml metadata file footprint
.xml metadata files are generated exclusively using TestMode, from values of TestMetadata set from the module class
RunUBT -Mode=Test -GenerateMetadata
To support additional NDA platforms, build modules must be created.
Cleanup unused metadata files from the previous generation system.
#jira UE-195038
#rb Jerome.Delattre

[CL 33373724 by chris constantinescu in ue5-main branch]
2024-05-01 11:35:44 -04:00
vincent robert
5096ef0413 Add unit tests for vectorized solver
[FYI] chris.caulfield, benn.gallagher

[CL 33048795 by vincent robert in ue5-main branch]
2024-04-17 16:51:40 -04:00
vincent robert
169797cd82 Fix velocity constraint on the vectorized solver
[CL 33046242 by vincent robert in ue5-main branch]
2024-04-17 15:43:30 -04:00
vincent robert
b856d5b57b Fix Rotation drive constraint
Acceleration mode were not considered
Add a unit test
[FYI] chris.caulfield

[CL 33034067 by vincent robert in ue5-main branch]
2024-04-17 09:22:33 -04:00
vincent robert
163854625d Fix vectorized solver
Add a unit test
The vectorized initialization position locked was not correct.
#rb chris.caulfield

[CL 32998248 by vincent robert in ue5-main branch]
2024-04-16 08:45:00 -04:00
benn gallagher
9585cb1b0e CIS - Fixup HeadlessChaos after deprecations to rest collection storage and lifetime management within dynamic collections
[CL 32551709 by benn gallagher in ue5-main branch]
2024-03-27 14:33:28 -04:00
chris caulfield
63233aa53d Chaos - GJKDistance InitialV optimization for same-space shapes
#rb vincent.robert

[CL 32388117 by chris caulfield in ue5-main branch]
2024-03-20 19:50:58 -04:00
chris caulfield
b4488c2f8b Chaos - add FBodyInstance::bUseMACD flag to enable Motion-Aware Collision Detection per particle
- flag is also used by GeomrteyCollections
- wire flag through to Chaos particles in the ControlFlags structure

NOTE: this flag isn't actually being used yet. It will be connected to the MACD feature in an upcoming change.

#rb Benn.Gallagher

[CL 31588117 by chris caulfield in ue5-main branch]
2024-02-16 19:01:12 -05:00