Commit Graph

74 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
robert manuszewski
f8a812a32f Converting hardcoded short class/enum names to pathnames ahead of ANY_PACKAGE removal
#rb trivial
#jira UE-99463
#preflight 6288fd998828ea88c8aef3d0

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20314896 via CL 20314897 via CL 20314903 via CL 20314904
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20315214 by robert manuszewski in ue5-main branch]
2022-05-22 10:30:02 -04:00
cedric caillaud
d8a335e82f Chaos : add new connection graph generation method ( delaunay filtered by bounds )
#rb none
#jira none
#preflight 6287e7b22c34da686af5b808

[CL 20301053 by cedric caillaud in ue5-main branch]
2022-05-20 15:20:13 -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
christopher waters
f8147b1889 Full set of fixes for non-unity non-pch builds after EngineTypes cleanup. This includes adjusting previous build fixes that introduced new includes that weren't actually necessary. Restored a few includes and wrapped them in UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_1 checks to maintain compatability.
Also includes fixes for other build issues as it's hard to separate them all.

#jira too many to list
#rb none
#preflight 6247d21073665f7d5e6c5a6c

[CL 19600818 by christopher waters in ue5-main branch]
2022-04-02 01:04:02 -04:00
Chris Caulfield
d946efa9ba Chaos
- option to remove sub-surface contacts ( experimental - disabled by default)
- option to ignore shallow CCD contacts (experimental - disabled by default)
- ability to disable individual manifold points in a collision constraint
- debug draw fixes

#jira none
#rb none
#preflight 62474236927e60e3417a19d7

[CL 19592968 by Chris Caulfield in ue5-main branch]
2022-04-01 14:40:30 -04:00
Marc Audy
b81058aaae Non-unity fixes
#rnx
#preflight

[CL 19523085 by Marc Audy in ue5-main branch]
2022-03-27 13:39:02 -04:00
chris caulfield
68bc40a7fb Chaos
- suspension fixes
- fix inactive hard stop constraints affecting unrelated bodies
- use implicit velocity in damping calculation (oversight from change to PBD)
- forces applied along surface normal, not suspension axis
- prevent springs applying negative forces

#rb bill.henderson, michael.lentine
#jira
#preflight 62328b21161b100559446bca

#ROBOMERGE-AUTHOR: chris.caulfield
#ROBOMERGE-SOURCE: CL 19423375 in //UE5/Release-5.0/... via CL 19423886
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v930-19419903)

[CL 19424846 by chris caulfield in ue5-main branch]
2022-03-17 15:18:45 -04:00
benn gallagher
84aeaecb34 Chaos: Fix contact and material ordering for Chaos collision events, previously both participants received the same normal and the same material order instead of one participant having those inverted
#rb Bill.Henderson
#jira UE-142734
#preflight 620cf0063d5414675634d5b0
#lockdown Michael.Lentine

#ROBOMERGE-OWNER: benn.gallagher
#ROBOMERGE-AUTHOR: benn.gallagher
#ROBOMERGE-SOURCE: CL 19067874 in //UE5/Release-5.0/... via CL 19087907
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19127196 by benn gallagher in ue5-main branch]
2022-02-24 17:15:40 -05:00
satchit subramanian
163625ea7f Chaos : Fix collision events not swapping info for swapped order contact pairs (mirrors 19012674).
[FYI] Noah.Presser, Todd.Eckert, Jon.Sourbeer
[REVIEW] Benn.Gallagher

#ROBOMERGE-AUTHOR: satchit.subramanian
#ROBOMERGE-SOURCE: CL 19053985 via CL 19054313 via CL 19054531 via CL 19054693 via CL 19059604
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v918-19018356)

[CL 19066295 by satchit subramanian in ue5-main branch]
2022-02-21 02:03:31 -05:00
chris caulfield
d447c21d30 Chaos - fix debug darw folliwiung change to NetMode in editor
#rb none
#jira none
#preflight 61de3d2c746e4a1564db36c9

#ROBOMERGE-AUTHOR: chris.caulfield
#ROBOMERGE-SOURCE: CL 18580882 in //UE5/Release-5.0/... via CL 18580883 via CL 18580884
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18580885 by chris caulfield in ue5-main branch]
2022-01-11 21:34:24 -05:00
brian bekich
4d0340bad7 Deprecating UWorld IsClient and IsServer in favor of GetNetMode/IsNetMode
PR #8581: Fix UWorld::IsClient() in single instance PIE (Contributed by AndreaCatania)

#jira UE-133956
#rb ryan.gerleve

#ROBOMERGE-AUTHOR: brian.bekich
#ROBOMERGE-SOURCE: CL 18562333 via CL 18562377 via CL 18562395 via CL 18563860 via CL 18563909
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18563958 by brian bekich in ue5-release-engine-test branch]
2022-01-10 14:48:13 -05:00
Marc Audy
f512a6d461 Eliminate whitespace only differences between Release-Engine-Staging and Release-Engine-Test
#fyi Aurel.Cordonnier

[CL 18448630 by Marc Audy in ue5-release-engine-test branch]
2021-12-13 15:59:48 -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
ori cohen
2cc8fff486 Refactor suspension constraint to be async thread safe. Also moved FSingleParticlePhysicsProxy into the Chaos namespace
#rb Max.Whitehead, Bill.Henderson

#ROBOMERGE-AUTHOR: ori.cohen
#ROBOMERGE-SOURCE: CL 17599522 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17599560 by ori cohen in ue5-release-engine-test branch]
2021-09-22 15:51:55 -04:00
brett miller
53614dd251 GeometryCollection
-- Removal mechanism invoked when geometry collection particles have slept for specified time. Particle is disabled, event is triggered, scene proxt geometry is progressivly scaled to a point.

#jira UE-122241
#rb brice.criswell
#preflight 612ea5f775bca20001e0b1b9

#ROBOMERGE-SOURCE: CL 17380472 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17380480 by brett miller in ue5-release-engine-test branch]
2021-08-31 20:24:01 -04:00
aurel cordonnier
dc4bf61540 Merge from Release-Engine-Staging @ 17030559 to Release-Engine-Test
This represents UE4/Main @ 17030256 and Dev-PerfTest @ 17030553

[CL 17031509 by aurel cordonnier in ue5-release-engine-test branch]
2021-08-03 11:56:47 -04:00
cedric caillaud
932082c33c Chaos : Fix some of the compilation problem when compiling with PhysX
[FYI] brett.miller, max.whitehead
#rb none
#jira none

#ROBOMERGE-SOURCE: CL 16779720 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16779724 by cedric caillaud in ue5-release-engine-test branch]
2021-06-24 18:46:01 -04:00
brett miller
41ab113ba1 Chaos Event Manager
-- Removed particle handle pointers from event payloads, as these are unsafe on the GT where they are often utilized.
-- Test proxy pointers when used on the game thread in case the proxy is pending destruction and is no longer valid.
-- Moved transform of particle handle -> transform group index for geometry collection event to PT where it is safe to reference the particle handle.

#jira UE-115834
#rb brice.criswell

[CL 16409919 by brett miller in ue5-main branch]
2021-05-20 16:50:29 -04:00
Chris Caulfield
0f0bf2570a Chaos - fix debug draw switching off (caused by multiple cvars referencing same underlying bool)
#jira none
#rb none
#preflight 609d5b120e81c7000196e0b2

[CL 16316370 by Chris Caulfield in ue5-main branch]
2021-05-13 14:49:31 -04:00
benn gallagher
ec6b6532d4 Chaos: Fixed custom solver actors being non-functional in non-editor builds (standalone, cooked). Make sure the solver is registered with the current world on BeginPlay
#rb Chris.Caulfield
#lockdown nick.whiting
#jira UE-114358
#preflight 6088a5fae99ebf0001fcfd6f

#ROBOMERGE-SOURCE: CL 16135339 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v789-15992632)

[CL 16135350 by benn gallagher in ue5-main branch]
2021-04-27 20:58:12 -04:00
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00
brett miller
4414b0772c ChaosCachingChaosCaching
-- implemented secondary notifications for collsion and trailing events recording and playback.

#jira FROST-1043
#rb brice.criswell, benn.gallagher

#ROBOMERGE-OWNER: brett.miller
#ROBOMERGE-AUTHOR: brett.miller
#ROBOMERGE-SOURCE: CL 15852555 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)
#ROBOMERGE-CONFLICT from-shelf

[CL 15854494 by brett miller in ue5-main branch]
2021-03-29 15:50:55 -04:00
brice criswell
46fdf49d6b Chaos : Secondary Particle Emission
-- Changed how particle to proxy mapping is implemented. Removed the map maintained on the solver. Each particle now maintains its own pointer to the associated proxy. Internal cluster particles are linked to multiple proxies (necessarily: they need this information to mark proxies dirty during the buffering process). Internal cluster particles have a set of proxy pointers that are used in situations that require it.

#jira none
[FYI] brett.miller
#rb brett.miller,benn.gallagher
#preflight 605e25c90944f600013b5281

#ROBOMERGE-OWNER: brice.criswell
#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 15843324 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)
#ROBOMERGE-CONFLICT from-shelf

[CL 15843590 by brice criswell in ue5-main branch]
2021-03-26 21:45:20 -04:00
brice criswell
ccd419269d Chaos : Destruction
Re-exposed the connection method enums to the GeometryCollectionObject.
#rb None
#jira None
#okforgethub public, internal
#preflight 605447dd168034000119dc7b

#ROBOMERGE-OWNER: brice.criswell
#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 15745578 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)
#ROBOMERGE-CONFLICT from-shelf

[CL 15750237 by brice criswell in ue5-main branch]
2021-03-19 15:28:38 -04:00