Commit Graph

331 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
jaco vandyk
a4d834933a Non-uniform scale bug fix when calculating bounding volumes in Mesh when finding most opposing faces.
#rb Benn.Gallagher
#fyi Michael.Lentine
#jira UE-148004
#review-20346513 @Benn.Gallagher
#preflight 628cfe236c4351e37285a198

[CL 20350520 by jaco vandyk in ue5-main branch]
2022-05-24 12:44:42 -04:00
cedric caillaud
893f162e2c Headless chaos : fix compilation errors
#rb trivial
#jira none
#preflight none

[CL 20142340 by cedric caillaud in ue5-main branch]
2022-05-11 12:14:04 -04:00
vincent robert
b1055029db Add a BVH Overlap unit test
#preflight skip

[CL 20138469 by vincent robert in ue5-main branch]
2022-05-11 09:39:25 -04:00
vincent robert
2968d8a610 BVH optimization : Rotate geometry instead of rotating AABB
#preflight: https://horde.devtools.epicgames.com/job/627b97f41e749933437d1344

[CL 20136212 by vincent robert in ue5-main branch]
2022-05-11 07:16:57 -04:00
vincent robert
83b789ded4 Optimize BVH, cache improvement
#preflight: https://horde.devtools.epicgames.com/job/627a58b8705bfaf9ae36db7d

[CL 20123324 by vincent robert in ue5-main branch]
2022-05-10 11:04:25 -04:00
vincent robert
7fa8414e01 Optimize BVH by increasing the number of children by leaf
- Add BVH Overlap unit test
#preflight: https://horde.devtools.epicgames.com/job/62755e5f2e58cb727d4d0219

[CL 20080273 by vincent robert in ue5-main branch]
2022-05-06 14:00:14 -04:00
vincent robert
6de9f456e8 Fix GJK bug by introducing an epsilon tolerance to consider a point in the tetrahedron
#preflight : https://horde.devtools.epicgames.com/job/627409fbfd59d6606efafdc7

[CL 20060685 by vincent robert in ue5-main branch]
2022-05-05 13:44:34 -04:00
vincent robert
a82492cf5e Additional BVH Query Overlap optimization:
When MTD is not required we were looking for all bounding volumes of tringles intersecting with the query then computing all triangles intersection and once we found one returning true.
Now as soon as a bounding volume intersect the query we compute the triangle intersection and if an intersection is found we return true.
#preflight: https://horde.devtools.epicgames.com/job/6272988e7b6d0faffa724e98

[CL 20056585 by vincent robert in ue5-main branch]
2022-05-05 08:53:58 -04:00
Chris Caulfield
7d83feee73 Chaos
- wire ContactModifier mass and inertia scales through to the solver
- separate user mass and inertia scales from shock propagation scales in SolverBody
- remove unused mass conditioning in Joint Solver and hook up to SolverBody shock prop scale
- add tests for inertia modification and reset

#rb max.whitehead
#jira none
#preflight 6271c703ea29c2feb3e5db89

[CL 20035885 by Chris Caulfield in ue5-main branch]
2022-05-03 20:34:46 -04:00
Chris Caulfield
024d2211c0 HeadlessChaos - fix compiler errors
#rb none
#jira none
#preflight 6271bd823e1f2a9d3a514ff0

[CL 20035322 by Chris Caulfield in ue5-main branch]
2022-05-03 19:54:11 -04:00
Chris Caulfield
7d0a1cc80a HeadlessChaos - fix debug build target
#fyi vincent.robert, benn.gallagher
#jira none
#rb none
#preflight 6271b203d90599edbef4a0e1

[CL 20034467 by Chris Caulfield in ue5-main branch]
2022-05-03 19:02:02 -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
vincent robert
85db43d7bf Height Field Overlap Optimization :
Check bounding volume of several cells, instead of checking all individual cells bounding volume.
#preflight: https://horde.devtools.epicgames.com/job/62700f37ad00dced62d1e350

[CL 20011707 by vincent robert in ue5-main branch]
2022-05-02 13:33:40 -04:00
vincent robert
d6f8321c55 Optimize Height Field Overlap
- Vectorization of GJK Intersection Same Space
- Remove dead code
#preflight: https://horde.devtools.epicgames.com/job/62697e88f97c319beba1fde0

[CL 19961096 by vincent robert in ue5-main branch]
2022-04-28 10:02:24 -04:00
vincent robert
64a890d566 Fix Chaos unit test
#prefligh https://horde.devtools.epicgames.com/job/626977780d4ac78d717dfc14

[CL 19942495 by vincent robert in ue5-main branch]
2022-04-27 13:14:35 -04:00
chris constantinescu
1278a26f76 Low level tests further refactoring and test resource deployment
#preflight 626955ed0d4ac78d716eacf0
#rnx

[CL 19941830 by chris constantinescu in ue5-main branch]
2022-04-27 12:36:35 -04:00
vincent robert
378d0f1970 Fix GJK unit test introduce by some core math stuff that has changed.
#preflight: https://horde.devtools.epicgames.com/job/6269557e2735a2c0ea7749b9

[CL 19940231 by vincent robert in ue5-main branch]
2022-04-27 11:11:46 -04:00
kriss gossart
756ddc011e Chaos - Add Managed Array Remove at and Insert at in cloth tests.
#rb Brice.Criswell
#jira none
#preflight 6266d2050634d0904ce5571d

[CL 19936516 by kriss gossart in ue5-main branch]
2022-04-27 05:39:05 -04:00
max whitehead
b5530d6d49 Fix Sweep inflated bounds test assuming start position is at bounds center. Fixes incorrect results with objects with geometry not centered at origin.
#preflight 62682559dd35c0d6cab4c439
#rb benn.gallagher

#ROBOMERGE-AUTHOR: max.whitehead
#ROBOMERGE-SOURCE: CL 19923922 via CL 19925481 via CL 19926286
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19929049 by max whitehead in ue5-main branch]
2022-04-26 17:16:14 -04:00
Benn Gallagher
adcf422ffb Updating Chaos unit test after changes to core math which fixed a missed detection that we tested for.
#rb trivial
#jira none
#preflight 626816bf1638ac249e7bfc05

[CL 19926555 by Benn Gallagher in ue5-main branch]
2022-04-26 15:20:39 -04:00
vincent robert
0914423bc7 Fix Height Field unit test
#preflight https://horde.devtools.epicgames.com/job/6266f0cf0634d0904ceadce4

[CL 19907246 by vincent robert in ue5-main branch]
2022-04-25 15:13:09 -04:00
vincent robert
9a8544139e Sweep height field optimization
#preflight https://horde.devtools.epicgames.com/job/6266981f7510b19012baac8d

[CL 19902847 by vincent robert in ue5-main branch]
2022-04-25 11:04:21 -04:00
cedric caillaud
d99bfd947e Fix convex most opposing unity test failure
- Context : this was failing because of the recent change of convex generation algorithm that affects the order of the resulting faces
- Made the test more resilient to face order

#fyi jaco.vandyk, chis.caulfield
#jira none
#preflight 625ef3409c09ef439d9c326b

[CL 19813189 by cedric caillaud in ue5-main branch]
2022-04-19 14:05:38 -04:00
cedric caillaud
3241137774 Chaos: enable the new convex generation algorithm by default
- fixed unit tests
- add a way to override the default build method if necessary

#rb jimmy.andrews, brice.criswell
#jira none
#preflight 6257633d1543022eed525d4e

[CL 19797773 by cedric caillaud in ue5-main branch]
2022-04-18 19:12:13 -04:00