Commit Graph

103 Commits

Author SHA1 Message Date
Benn Gallagher
8757cb3641 Physics interface cleanup.
* Removed deprecated or dead code paths
* Simplified build system setup for physics support
* Deprecated build system flags and unsupported macros

#jira none
#rb Chris.Caulfield, Kriss.Gossart
#preflight 62963ec0fe779f23c8ea0c5e

[CL 20450744 by Benn Gallagher in ue5-main branch]
2022-06-01 06:59:18 -04:00
Chris Caulfield
91c3a26d3f Chaos
- projectionphase  in main solver
- add teleport projection
- recombine projection flags into one flag
- remove unused iteration counts
- correct the iteration count names

#jira none
#rb jaco.vandyk, michael.forot
#preflight 6271490afe09c0cfbc3c5a1e

[CL 20026916 by Chris Caulfield in ue5-main branch]
2022-05-03 11:54:26 -04:00
Chris Caulfield
ec02986fbe Chaos - joint stabilization
- add Inertia Conditioning system to increase inertia for long, thin, or small objects (enabled by default)
- also considiers joints with connectors outside the shape
- move some particle settings into a bitfield to reduce size
- add FVec3f as shorthand for TVec3-FRealSingle

#rb cedric.caillaud, jaco.vandyk,michael.forot
#jira none
#preflight 626c1f925c220f34acf5e912

[CL 19982249 by Chris Caulfield in ue5-main branch]
2022-04-29 13:53:51 -04:00
danny couture
2f37ebba08 Optimize bodysetup build by skipping DDC request when building is expected to be faster than a DDC fetch
- The number of unique bodysetup generated by splite update during load make DDC fetch irrelevant as it is a garanteed miss both on Horde Storage and on disk.
    - 8m47s to 1m26s for loading Apollo_Terrain with -DDC-Local-MissTypes=ChaosGeometryData
    - 3m05s to 1m08s for loading Apollo_Terrain normally (warm run)

#rnx
#rb Jaco.Vandyk, Francis.Hurteau, Cedric.Caillaud
#preflight 6256bc9d6520cc71237bdf8f

[CL 19753402 by danny couture in ue5-main branch]
2022-04-14 07:45:34 -04:00
Steve Robb
cc12aaac04 Math macro prefix fixes for CoreUObject and Engine.
#rb none
#jira UE-140139
#preflight 624af57b637925b5d3fb9fef

[CL 19609424 by Steve Robb in ue5-main branch]
2022-04-04 11:13:42 -04:00
Benn Gallagher
e2725d6446 Chaos: Enable mask filters
Masks are now propagated to shapes correctly whereas previously the call to SetMaskFilter was a no-op and dropped the mask filter.

To match previous behaviour for mask filters (completely ignored for simulation - only ever considered for query) the mask filter check was removed for the sim filter and sim pre-filter.

#rb Max.Whitehead
#jira none
#preflight 62419e707d49f37dfd4d9e80

[CL 19525439 by Benn Gallagher in ue5-main branch]
2022-03-28 08:20:29 -04:00
Michael Lentine
3c9dfe96d1 Delete PhysX.
#rb Benn.Gallagher
#preflight 62292a4bcc09078bab64d667

[CL 19337868 by Michael Lentine in ue5-main branch]
2022-03-10 12:26:39 -05:00
benn gallagher
72bf15bd8c Chaos: Fix sweep face selection for triangle meshes that are separate but co-located, ensuring we pick the face most opposing the sweep direction.
#rb Chris.Caulfield
#jira UE-144050
#preflight 62214db5a00412627d17ffbe

#ROBOMERGE-AUTHOR: benn.gallagher
#ROBOMERGE-SOURCE: CL 19257225 in //UE5/Release-5.0/... via CL 19258505
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v924-19243027)

[CL 19263811 by benn gallagher in ue5-main branch]
2022-03-04 04:08:15 -05:00
chris caulfield
1010d59e0e Chaos
- RBAN QPBD and linear joint solver support
- Add 3rd phase to solver loop for projection
- Add settings for QPBD to PhysicsAsset
- Add cvar overrides for all settings
- Hide settings for legacy solver

#rb michael.forot
#jira UE-140717
#preflight

#ROBOMERGE-AUTHOR: chris.caulfield
#ROBOMERGE-SOURCE: CL 19156094 in //UE5/Release-5.0/... via CL 19159784
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19161460 by chris caulfield in ue5-main branch]
2022-02-25 19:46:14 -05:00
ilya loshchinin
8d6372223e Improved allocation policy of Chaos query hit results: use an inline allocator to avoid dynamic memory allocation in base cases.
#tests FN Squads games with a server on a cloud machine (m5.4)
#rb ori.cohen

#ROBOMERGE-OWNER: ilya.loshchinin
#ROBOMERGE-AUTHOR: ilya.loshchinin
#ROBOMERGE-SOURCE: CL 19053156 via CL 19053172 via CL 19053184 via CL 19059483
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v918-19018356)

[CL 19066288 by ilya loshchinin in ue5-main branch]
2022-02-21 02:02:45 -05:00
chris caulfield
4680bfa98c Chaos - joint shock propagation in QPBD solver (disabled)
#rb michael.forot, zhengling.geng
#jira ue-140717
#preflight 62069640e24662ad5f719a80

#ROBOMERGE-AUTHOR: chris.caulfield
#ROBOMERGE-SOURCE: CL 18954551 in //UE5/Release-5.0/... via CL 18955115 via CL 18955743
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18958301 by chris caulfield in ue5-main branch]
2022-02-11 14:42:03 -05:00
brice criswell
a09c8ab306 Engine : Default Destruciton Physics Material
- Added a default material for destructable objects.
#rb Benn.Gallagher
#jira UE-134121
#preflight 61fd9712f370b0d3111f77ee

#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 18892341 in //UE5/Release-5.0/... via CL 18892952 via CL 18893310
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18893342 by brice criswell in ue5-main branch]
2022-02-07 16:26:46 -05:00
Ori Cohen
e66fedd07a Added templated boilerplate for sweep and overlap on PT
#rb Max.Whitehead
#preflight 6201585397149bc07a82af88

[CL 18887996 by Ori Cohen in ue5-main branch]
2022-02-07 13:02:04 -05:00
Ori Cohen
3c734cef27 More template boilerplate to be able to do scene queries against PT data
#rb Max.Whitehead
#preflight 61fd6596e65336d14549afe3

[CL 18866111 by Ori Cohen in ue5-main branch]
2022-02-04 12:58:24 -05:00
kriss gossart
c256b9165e Chaos Cloth - Move back the post LWC solver to float for performance reason, since cloth is being simulated in local space.
- Fixes one remaining issue with the cloth data output transforms in LWC.
- Remove using namespace Chaos from global scope to help with unity builds.

#rb Cedric.Caillaud, Benn.Gallagher, Chris.Caulfield
#preflight 61fbd50f7b1aa76bb413ef92
#jira UE-140723, UE-126763

#ROBOMERGE-AUTHOR: kriss.gossart
#ROBOMERGE-SOURCE: CL 18842837 in //UE5/Release-5.0/... via CL 18842845 via CL 18843033
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18843045 by kriss gossart in ue5-main branch]
2022-02-03 10:12:39 -05:00
fred kimberley
7fbfaf57c8 Require explicit constructors/casts when converting between FVector, FVector3d, and FVector3f.
#jira UE-122078
#rb Andrew.Davidson, Colin.McGinley
#preflight standard build

#ROBOMERGE-AUTHOR: fred.kimberley
#ROBOMERGE-SOURCE: CL 18817999 in //UE5/Release-5.0/... via CL 18818012 via CL 18822871
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18824721 by fred kimberley in ue5-main branch]
2022-02-02 07:59:31 -05:00
Ori Cohen
9de2c90129 Starting to add a physics thread version of hit result structures so we can do SQ in fixed tick and physics thread.
Not actually ready to use yet, but nothing is calling the non-gt version

#rb Max.Whitehead
#preflight 61f998bc162e627eab46157a

[CL 18814672 by Ori Cohen in ue5-main branch]
2022-02-01 15:47:21 -05:00
chris caulfield
28accb1164 Chaos
- add smooth edge collision flag
- remove unused collision flag
- clean up collision flag setting API

#rb brice.criswell, cedric.caillaud
#jira none
#preflight 61f481286b5aea38e5c7a925

#ROBOMERGE-AUTHOR: chris.caulfield
#ROBOMERGE-SOURCE: CL 18781024 in //UE5/Release-5.0/... via CL 18781091 via CL 18781561
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18781679 by chris caulfield in ue5-main branch]
2022-01-28 19:50:28 -05:00
andrew davidson
cfad2e2ed5 Temporarily revert type truncation fix that leads to collision failures until it can be investigated.
#jira UE-138710
#rb trivial
#preflight 61dcba944d377749b661de52

#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18566712 in //UE5/Release-5.0/... via CL 18566732
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18566738 by andrew davidson in ue5-release-engine-test branch]
2022-01-10 18:23:35 -05:00
andrew davidson
6d32872c8b Type truncation fixes - Physics
#rb cedric.caillaud
#preflight 61d824165d522c9b40a4ccf3

#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18541410 in //UE5/Release-5.0/... via CL 18541424
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18541440 by andrew davidson in ue5-release-engine-test branch]
2022-01-07 06:59:26 -05:00
noah presser
92983b66c0 Engine changes to expose velocity functionality to location based impulses
[REVIEW] [at]todd.eckert [at]jon.sourbeer [at]benn.gallagher

#ROBOMERGE-AUTHOR: noah.presser
#ROBOMERGE-SOURCE: CL 18532679 via CL 18532683 via CL 18532691 via CL 18532695 via CL 18532710 via CL 18533464 via CL 18533985
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18534176 by noah presser in ue5-release-engine-test branch]
2022-01-06 14:18:54 -05:00
brandon boswell
247068fef2 Back out changelist 18472458
#ROBOMERGE-AUTHOR: brandon.boswell
#ROBOMERGE-SOURCE: CL 18473000 via CL 18473001 via CL 18473004 via CL 18473005 via CL 18473982 via CL 18480580
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18480680 by brandon boswell in ue5-release-engine-test branch]
2021-12-16 18:20:08 -05:00
jon sourbeer
113c4ccd22 [REVIEW] [at]noah.presser [at]todd.eckert [at]satchit.subramanian
Engine changes to expose velocity functionality to location based impulses

#ROBOMERGE-AUTHOR: jon.sourbeer
#ROBOMERGE-SOURCE: CL 18472458 via CL 18472470 via CL 18472480 via CL 18472485 via CL 18473090 via CL 18473390
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18473418 by jon sourbeer in ue5-release-engine-test branch]
2021-12-15 23:12:45 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00