Commit Graph

30 Commits

Author SHA1 Message Date
Zhenglin Geng
7436ff65c1 Remove ClearKinematicTarget
#rb trivial
#jira FROST-2992
#fyi brice.criswell, bill.henderson

[CL 16559750 by Zhenglin Geng in ue5-main branch]
2021-06-04 12:40:22 -04:00
Chris Caulfield
f15a108884 Chaos - wire SetConstraintFrames from game thread to physics thread
(Note: works in BeginPlay or Tick, but not from construction script yet)

#rb cedric.caillaud,brice.criswell,zhenglin.geng
#jira none
#preflight 60b0394e63fc6e000137e186

[CL 16510057 by Chris Caulfield in ue5-main branch]
2021-05-31 13:50:42 -04:00
aurel cordonnier
43fa62fcd8 Merge from Release-Engine-Test @ 16487383 to UE5/Main
This represents UE4/Main @ 16445039 and Dev-PerfTest @ 16444526

[CL 16488106 by aurel cordonnier in ue5-main branch]
2021-05-27 13:40:37 -04:00
Andrew Davidson
3ddc3a4da3 Merge up from //UE5/Dev-LargeWorldCoordinates
#rb none

[CL 16211417 by Andrew Davidson in ue5-main branch]
2021-05-05 15:07:25 -04:00
aurel cordonnier
50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00
Benn Gallagher
bdb7cf113f Chaos Physics: When changing from Kinematic to Dynamic and vice versa make sure that the velocities are reset.
#rb  Benn.Gallagher
[FYI] Michael.Lentine, Benn.Gallagher
#jira UE-99744
#lockdown nick.whiting
[at]Benn.Gallagher

#ROBOMERGE-OWNER: Benn.Gallagher
#ROBOMERGE-AUTHOR: jaco.vandyk
#ROBOMERGE-SOURCE: CL 15952965 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v787-15839533)
#ROBOMERGE-CONFLICT from-shelf

[CL 15967119 by Benn Gallagher in ue5-main branch]
2021-04-09 09:45:06 -04:00
Benn Gallagher
cb4566369d Chaos - Add maximum linear and angular speeds per-particle. Default linear limit to float max, angular speed is configured by project settings
#rb Jaco.VanDyk
#jira UE-101477
#preflight 606c500e52aa0800010d78b1
#lockdown Nick.Whiting

#ROBOMERGE-OWNER: Benn.Gallagher
#ROBOMERGE-AUTHOR: benn.gallagher
#ROBOMERGE-SOURCE: CL 15930001 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)
#ROBOMERGE-CONFLICT from-shelf

[CL 15930423 by Benn Gallagher in ue5-main branch]
2021-04-06 10:45:16 -04:00
brandon dawson
210b8130df Undo //UE5/Release-5.0-EarlyAccess/Engine/Source/Runtime/... changelist 15897108
#rb
[FYI] Zhenglin.Geng,Nick.White

#ROBOMERGE-SOURCE: CL 15903874 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15907207 by brandon dawson in ue5-main branch]
2021-04-02 20:18:17 -04:00
zhenglin geng
1735e7fa08 SetKinematicTarget_AssumesLocked only sets Target transform.
Set Previous trasform in FSingleParticlePhysicsProxy::PushToPhysicsState.
This solves the loss of momentum issue.

#rb chris.caulfield
#jira none


#ushell-cherrypick of 15896966 by zhenglin.geng

#ROBOMERGE-OWNER: zhenglin.geng
#ROBOMERGE-AUTHOR: zhenglin.geng
#ROBOMERGE-SOURCE: CL 15896858 in //UE4/Release-4.26-Chaos/... via CL 15897108
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)
#ROBOMERGE-CONFLICT from-shelf

[CL 15897148 by zhenglin geng in ue5-main branch]
2021-04-01 18:13:00 -04:00
Marc Audy
0cbbc781ca Merge UE5/Release-Engine-Staging @ 15740152 to UE5/Main
This represents UE4/Main @ 15709114

[CL 15740605 by Marc Audy in ue5-main branch]
2021-03-18 15:20:03 -04:00
Marc Audy
8f73cd7fa9 Merge UE5/Release-Engine-Staging @ 15630841 to UE5/Main
This represents UE4/Main @ 15601601

[CL 15631170 by Marc Audy in ue5-main branch]
2021-03-05 19:27:14 -04:00
benn gallagher
20652fedb3 Fixed radial impulse application to take into account the velocity change flag.
#rb Jaco.VanDyk
#jira UE-104907

#ROBOMERGE-SOURCE: CL 15583893 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v777-15581079)

[CL 15583899 by benn gallagher in ue5-main branch]
2021-03-03 12:28:33 -04:00
cedric caillaud
fe59e52c87 Chaos Physics - Add the ability to disable/enable rigid bodies from a skeletal simulation
#jira FROST-1108
#rb ori.cohen, max.whitehead, chris.caulfield, brice.criswell

[CL 15524293 by cedric caillaud in ue5-main branch]
2021-02-24 20:32:57 -04:00
Marc Audy
9753392e2b Merge UE5/RES CL# 15462083 to UE5/Main
This represents UE4/Main @ 15414221

[CL 15463811 by Marc Audy in ue5-main branch]
2021-02-18 18:13:28 -04:00
benn gallagher
b360c7bc99 Removed warning attempting to get scene for null actor reference. This is actually a valid case that simplifies scene locking. When creating constraints with the world one actor will be null and the rest of the API handles this gracefully. For an example see FBodyInstance::CreateDOFLock.
#rb Jaco.VanDyk
#jira UE-107375

#ushell-cherrypick of 15375607 by Benn.Gallagher

#ROBOMERGE-SOURCE: CL 15395387 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15395394 by benn gallagher in ue5-main branch]
2021-02-11 21:36:53 -04:00
chris caulfield
632aa725d0 Chaos - merging various fixes that missed the main merge deadline
#rb none
#jira none

#ROBOMERGE-SOURCE: CL 15347037 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15359396 by chris caulfield in ue5-main branch]
2021-02-08 15:59:34 -04:00
Marc Audy
cac1fe0019 Merge UE5/Release-Engine-Staging @ CL# 15299266 to UE5/Main
This represents UE4/Main @ CL# 15277572

[CL 15299962 by Marc Audy in ue5-main branch]
2021-02-03 14:57:28 -04:00
Marc Audy
bc88b73a29 Merge Release-Engine-Staging to Main @ CL# 15151250
Represents UE4/Main @ 15133763

[CL 15158774 by Marc Audy in ue5-main branch]
2021-01-21 16:22:06 -04:00
JeanFrancois Dube
75b7ffe4fd Chaos optimizations (during PVF simulation on large a world):
- Changed Chaos deactivation array to a set, as it can grow over a million instances (saves ~12.5%).
- Removed TVector destructor as it generates destructors iterators to empty functions for every instance on stack (saves ~8.5%).

Saves ~3:40 in a large wqorld test case.

#rb brice.criswell

[CL 15150680 by JeanFrancois Dube in ue5-main branch]
2021-01-20 21:05:15 -04:00
Brice Criswell
ff9318bd52 Chaos : Constraint : Angular Plasticity
- Allow the joints to reset their target angle to the current relative angle when the targeted rotations have deviated from a user defined delta.

#rb none
#jira FROST-204

[CL 15063517 by Brice Criswell in ue5-main branch]
2021-01-12 20:32:56 -04:00
Brice Criswell
b0a607f6ab Chaos : Ignore Collisions
- Reenabled the collision manager.
- Added threading handoff for the collision constraint flag.
- Removed game thread particle dependency in the ignore collisions update.

#rb Max.Whitehead
#jira UE-104450

[CL 14932895 by Brice Criswell in ue5-main branch]
2020-12-15 14:10:39 -04:00
Brice Criswell
420d148cb4 Chaos : Collision Manager
- Temporarily disable the IgnoreCollisionsManager

#rb none
#fyi Max.Whitehead
#jira UE-104450

[CL 14919811 by Brice Criswell in ue5-main branch]
2020-12-14 15:53:09 -04:00
Brice Criswell
0a20888b27 Chaos : IgnoreCollisions
-Don't store particles in the deletion queue, just the unique indices.

#rb none
#jira UE-104252

[CL 14911226 by Brice Criswell in ue5-main branch]
2020-12-13 13:08:28 -04:00
Marc Audy
a7f9391231 Merge UE5/Release-Engine-Staging @ 14811410 to UE5/Main
This represents UE4/Main @ 14768117

For ReleaseObjectVersion.h
#lockdown Marcus.Wassmer

[CL 14811440 by Marc Audy in ue5-main branch]
2020-11-24 18:42:39 -04:00
Max Whitehead
c2a784441f Update FIgnoreCollisionManager to use queue + timestamp to marshall data for async physics.
#jira UESP-4031
#rb Brice.Criswell

[CL 14644800 by Max Whitehead in ue5-main branch]
2020-11-03 15:04:41 -04:00