Commit Graph

145 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
bitdewy
c244cf4a56 PR #8933: Fix NetworkPredictionCVars cmd/description mismatch so that the commands actually match up with their proper functions. (Contributed by bitdewy)
#jira UE-143987
#rb me
#preflight 623a04267b69b01ec1545205

[CL 19468733 by bitdewy in ue5-main branch]
2022-03-22 13:23:55 -04:00
David Ratti
137d565974 Network Physics
-Delete the Async Network Prediction system
-The original game thread Network Prediction will remain

#preflight 18829878

[CL 18829992 by David Ratti in ue5-main branch]
2022-02-02 13:09:59 -05:00
ryan gerleve
9d74060bea Removed some UE4 references from comments
#jira UE-111309, UE-111646, UE-111664
#rnx
#rb none
#preflight 61f968f9fa6554dff3d698e7

#ROBOMERGE-AUTHOR: ryan.gerleve
#ROBOMERGE-SOURCE: CL 18810374 in //UE5/Release-5.0/... via CL 18810375 via CL 18822693
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18823612 by ryan gerleve in ue5-main branch]
2022-02-02 05:53:29 -05:00
peter engstrom
732d30ce94 Large world coordinates support in quantized vector net serialization.
#jira UE-140188
#rb ryan.gerleve, john.barrett, andrew.davidson
#preflight 61f67b0ad36be16308c9c314

#ROBOMERGE-OWNER: peter.engstrom
#ROBOMERGE-AUTHOR: peter.engstrom
#ROBOMERGE-SOURCE: CL 18805993 in //UE5/Release-5.0/... via CL 18808256 via CL 18821781
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18822145 by peter engstrom in ue5-main branch]
2022-02-02 02:20:40 -05:00
Marc Audy
3da1c5cc68 Eliminate whitespace only differences between Release-Engine-Staging and Release-Engine-Test
#[fyi] Aurel.Cordonnier

#ushell-cherrypick of 18448630 by Marc.Audy

[CL 18448753 by Marc Audy in ue5-main branch]
2021-12-13 16:08:57 -05:00
max whitehead
6da23ad801 Removing mass computation from integration by accumulating accel/vel instead of forces/torques.
Remove function calls to rules in integration.
#jira nojira
#rb ori.cohen

#ROBOMERGE-AUTHOR: max.whitehead
#ROBOMERGE-SOURCE: CL 18359071 in //UE5/Release-5.0/... via CL 18359098
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18359110 by max whitehead in ue5-release-engine-test branch]
2021-12-02 16:42:39 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -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
david ratti
82c1dca245 Network Prediction
-Fix issues where InputCmd and NetState arrays could get out of sync due to new instances spawning

#ROBOMERGE-AUTHOR: david.ratti
#ROBOMERGE-SOURCE: CL 17804658 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v881-17767770)

[CL 17805089 by david ratti in ue5-release-engine-test branch]
2021-10-13 16:23:00 -04:00
david ratti
678d81c7de Network Physics
-Call SpawnProxyIfNeeded when applying rewind data so that newly spawned objects can be corrected "in the past"

#rb Ori

#ROBOMERGE-AUTHOR: david.ratti
#ROBOMERGE-SOURCE: CL 17804416 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v881-17767770)

[CL 17804972 by david ratti in ue5-release-engine-test branch]
2021-10-13 16:20:53 -04:00
david ratti
52581ba10e Network Physics:
"Physics Effects". Basic API for doing gameplay calculations on physics thread.

[FYI] Max.Whitehead, Adam.Bellefeuil

#ROBOMERGE-AUTHOR: david.ratti
#ROBOMERGE-SOURCE: CL 17773688 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v881-17767770)

[CL 17773729 by david ratti in ue5-release-engine-test branch]
2021-10-11 12:55:02 -04:00
max whitehead
3c7421ae82 [Safari] Move thrust suspension impl onto physics thread.
- Update floatingpawn2 to use physics thread suspension.
- Add utility functions for applying force at position on particle.
- Fix bug in keep upright force when angle is obtuse.
#jira nojira
[FYI] ori.cohen

#ROBOMERGE-AUTHOR: max.whitehead
#ROBOMERGE-SOURCE: CL 17755436 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v879-17706426)

[CL 17755456 by max whitehead in ue5-release-engine-test branch]
2021-10-07 17:20:37 -04:00
david ratti
4b90e238c8 Network Prediction Physics
-Fix case where server would process wrong remote client InputCmd after a hitch

#ROBOMERGE-AUTHOR: david.ratti
#ROBOMERGE-SOURCE: CL 17734306 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v879-17706426)

[CL 17734331 by david ratti in ue5-release-engine-test branch]
2021-10-06 08:30:10 -04:00
david ratti
44b8a64929 Network Prediction
-Add NetCore to build.cs

#ROBOMERGE-AUTHOR: david.ratti
#ROBOMERGE-SOURCE: CL 17725327 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v879-17706426)

[CL 17725340 by david ratti in ue5-release-engine-test branch]
2021-10-05 14:47:29 -04:00
david ratti
b53c005806 Network Physics
-Bunch of fixes for handling hitches and substepping. Client and servers can withstand hitches without falling out of sync now.


#ROBOMERGE-AUTHOR: david.ratti
#ROBOMERGE-SOURCE: CL 17725013 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v879-17706426)

[CL 17725028 by david ratti in ue5-release-engine-test branch]
2021-10-05 14:31:20 -04:00
ori cohen
5fc1aae86e Rewind data can dump out full history. Added a cvar so we can auto dump rewind data on client and server when correction happens
#ROBOMERGE-AUTHOR: ori.cohen
#ROBOMERGE-SOURCE: CL 17666627 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v875-17642767)

[CL 17666640 by ori cohen in ue5-release-engine-test branch]
2021-09-29 15:59:45 -04:00
david ratti
e5ca233695 Network Physics
-Enable global ParticleID sorting

#jira none
#rb Ori

#ROBOMERGE-AUTHOR: david.ratti
#ROBOMERGE-SOURCE: CL 17660707 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v875-17642767)

[CL 17660714 by david ratti in ue5-release-engine-test branch]
2021-09-29 09:08:51 -04:00
david ratti
1d0d4561b1 Fix for mac editor compile
#ROBOMERGE-AUTHOR: david.ratti
#ROBOMERGE-SOURCE: CL 17631347 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17631351 by david ratti in ue5-release-engine-test branch]
2021-09-27 11:51:57 -04:00
david ratti
188b1cb1d2 CIS fix for clang
#ROBOMERGE-AUTHOR: david.ratti
#ROBOMERGE-SOURCE: CL 17630585 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17630617 by david ratti in ue5-release-engine-test branch]
2021-09-27 11:01:22 -04:00
david ratti
c52575dd0e Network Prediction
-Make NP2 state corrections resiliant to rewinds instead of being lost

#ROBOMERGE-AUTHOR: david.ratti
#ROBOMERGE-SOURCE: CL 17630445 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17630468 by david ratti in ue5-release-engine-test branch]
2021-09-27 10:50:57 -04:00
david ratti
ffa63e4a93 Network Physics
-Added NetworkID for managed physics particles, removed the non-networked ID and replaced underlying data structure with a TSet

#ROBOMERGE-AUTHOR: david.ratti
#ROBOMERGE-SOURCE: CL 17629583 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17629591 by david ratti in ue5-release-engine-test branch]
2021-09-27 08:59:32 -04:00
david ratti
7614ce0e2d Network Prediction
-Make physics corrections automatically re-apply if a future rewind happens to a prior frame. Previously the original correction would be list

#ROBOMERGE-AUTHOR: david.ratti
#ROBOMERGE-SOURCE: CL 17629217 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17629225 by david ratti in ue5-release-engine-test branch]
2021-09-27 08:08:23 -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