Commit Graph

534 Commits

Author SHA1 Message Date
euan carmichael
5c469050f2 Fix for aim offset anim node to account for socket offset when calculating pivot location
#rb Nicholas.Frechette

[CL 36758670 by euan carmichael in 5.5 branch]
2024-10-01 19:41:16 -04:00
simon orr
01eb0e4284 Tracking RBAN memory allocations back to associated Assets and Packages. Updating for MemQuery and Insights.
#rb anton.dunchev
[FYI] jason.chin, Daniel.Broder, jonathan.bunner, zephyrus.mckinnon

[CL 36435372 by simon orr in 5.5 branch]
2024-09-19 11:38:57 -04:00
Losdrew
f02b97667a Exposed bShouldStopAllMontages pin in latent Play Montage node
PR #11517: Expose bShouldStopAllMontages pin in latent Play Montage node
#jira UE-207299
#rb Jurre.deBaare

[CL 36334264 by Losdrew in 5.5 branch]
2024-09-17 10:28:27 -04:00
vincent robert
4e3fc66d27 Fix scaling issue with RBAN
Adding a Cvar to control scaling in simulated space

#rb chris.caulfield

[CL 35726371 by vincent robert in ue5-main branch]
2024-08-21 18:56:43 -04:00
henrik karlsson
8cec69af73 Fixed linker errors on some console platform when building modular builds. Fixes involves moving ctor/dtor and friends from header to cpp and dll import/export
[CL 35712433 by henrik karlsson in ue5-main branch]
2024-08-21 14:16:50 -04:00
daniel holden
326cd97e28 Added support for blend mode in Montage Inertialization when used in conjunction with DeadBlending node.
#jira UE-210686
#rb Thomas.Sarkanen

[CL 34158943 by daniel holden in ue5-main branch]
2024-06-06 11:35:39 -04:00
daniel holden
35a7aecd09 [Backout] - CL34156365
[FYI] daniel.holden
Original CL Desc
-----------------------------------------------------------------
Added support for blend mode in Montage Inertialization when used in conjunction with DeadBlending node.

#jira UE-210686
#rb Thomas.Sarkanen

[CL 34156643 by daniel holden in ue5-main branch]
2024-06-06 10:26:29 -04:00
daniel holden
f26b5ca675 Added support for blend mode in Montage Inertialization when used in conjunction with DeadBlending node.
#jira UE-210686
#rb Thomas.Sarkanen

[CL 34156375 by daniel holden in ue5-main branch]
2024-06-06 10:14:59 -04:00
daniel holden
33f29e5d00 Updated LLM reporting for Animation Graph. Added new LLM scope "Animation/Graph" to cover full graph evaluation. Tightened scope of "Animation/RigidBody" and "Animation/RigidBodyWithControl" to capture all of the allocations. Removed "Animation/DeadBlending" and "Animation/Intertialization" as these were previously capturing allocations unrelated to these nodes.
#rb Thomas.Sarkanen

[CL 33825894 by daniel holden in ue5-main branch]
2024-05-22 08:14:55 -04:00
euan carmichael
507758a976 ModifyCurve anim node now generates debug data
[CL 33498045 by euan carmichael in ue5-main branch]
2024-05-07 17:56:48 -04:00
chris caulfield
30a95d74fc Chaos Debug Draw
- debug draw system supports out-of-context draws
- add debug draw timelines to RBAN
- debug draw context cleanup
- new debug draw command system (not used yet)

Debug Draw commands from a thread on which DD is not initialized will fall back to a "global frame" which is a never-ending debug draw frame that we pull debug draw commands from every time we render. Draws to the global frame suffer from the same flicker problems as the old DD backend but it will allow use to remove the old system. The ultimate goal is to give a context to all threads that use DD.

Debug Draw commands can now be more sophisticated and can defer decisions like the color and line thickness, or whether to display at all, to render time. This will be important when we can rewind the debug draw and want to change visualization settings after the commands have been queued. This can also make the draw queue much smaller (e.g, when drawing a mesh we previously had to enqueue a Line command for every edge, and now it is just an implicit object pointer)

[CL 33481131 by chris caulfield in ue5-main branch]
2024-05-07 07:29:15 -04:00
vincent robert
db50b7029e In RBAN add an option not to run the narrow phase every solver iteration.
#prefligh 660f13bda77c355f53880216
#rb chris.caulfield

[CL 32756197 by vincent robert in ue5-main branch]
2024-04-05 07:12:38 -04:00
christopher waters
b80d33a5d6 Moving USkeletalBodySetup out of "PhysicsEngine/PhysicsAsset.h" and into its own header "PhysicsEngine/SkeletalBodySetup.h"
#rb Tim.Smith

[CL 32451501 by christopher waters in ue5-main branch]
2024-03-22 17:23:45 -04:00
sergio gardeazabal
3a17ab43c6 [ChaosVD] Fix an issue where solvers were not flagged as server and RBAN solver will have the incorrect ID recorded.
Without this fix, RBAN solver recording is non functional if a Rigid Solver has an id 1 (usual on first recordings of a session), and some visualization flags that color or hides geometry based on if a particles is from server or client does not work.

#jira UE-207855
#tests Tested by doing a recording of out test map for RBAN and playing it back PIE
#rb Benn.Gallagher, cedric.caillaud, Chris.Caulfield

[CL 31772836 by sergio gardeazabal in ue5-main branch]
2024-02-23 14:55:18 -05:00
nick brett
41ac13c3fb [UE] Fix for AnimDynamics debug draw transforms
- Removed unrequired transform into component space
- Removed unused ToWorldT lambda
- Added a check on bone index validity in the debug draw code to avoid an assert - incorrect debug draw is probably better than an editor crash when a node is not setup correctly.
- Green sphere representing the origin still behaves oddly when in root relative sim space, but I don't think the problem is in the debug draw code.


[REVIEW] [at]Thomas.Sarkanen
#jira UE-204875
#rnx

[CL 31566735 by nick brett in ue5-main branch]
2024-02-16 11:07:57 -05:00
roland munguia
b533aa1c1a Fixed mirror node, motion matching node, and blendstack node not supporting sync groups with inertial blends
#jira UE-194436, UE-194437
#rnx minor
#rb samuele.rigamonti

[CL 31528588 by roland munguia in ue5-main branch]
2024-02-15 14:15:48 -05:00
yoan stamant
0d5635a910 Removed some headers dependencies on 'FHitResult' and 'FOverlapResult'
#rb Mieszko.Zielinski

[CL 31470741 by yoan stamant in ue5-main branch]
2024-02-14 09:15:30 -05:00
roland munguia
83e9287f56 Added support for blend spaces with sync markers for motion matching
New:
- Added ResetBlendSamples() method to UBlendspace. Works with marker based syncing and length based syncing

Fixes:
- Fixed advancing backwards instead of forwards when DeltaTime is zero and using sync markers
- Fixed MarkerTickRecords not being reset when setting accumulated time or start time of an asset player
- Fixed sequences and blendspaces not handling their makers becoming invalid when deltatime is zero.

#rnx minor
#jira UE-206722
#rb samuele.rigamonti, Thomas.Sarkanen

[CL 31442880 by roland munguia in ue5-main branch]
2024-02-13 15:17:32 -05:00
alex kahn
cdfd11e33e [Backout] - CL31425693 - CIS UE Error Backout 4/4
[FYI] Yoan.StAmant
Original CL Desc
-----------------------------------------------------------------
Removed some headers dependencies on 'FHitResult' and 'FOverlapResult'
#rb Mieszko.Zielinski

[CL 31440421 by alex kahn in ue5-main branch]
2024-02-13 14:37:03 -05:00
yoan stamant
00a0c5ac5d Removed some headers dependencies on 'FHitResult' and 'FOverlapResult'
#rb Mieszko.Zielinski

[CL 31425867 by yoan stamant in ue5-main branch]
2024-02-13 09:57:09 -05:00
benjamin jillich
fb830776ad Physics is broken for the strings on Taro's hoodie in MH_UEFN_QA
Introduced new flag to ignore the RBAN LOD threshold CVAR and force use the one locally set on the anim graph node.



#changelist validated
#virtualized

[CL 31291341 by benjamin jillich in ue5-main branch]
2024-02-08 10:05:16 -05:00
danny chapman
c33560173d Implementing Physics Control Profiles. This continues refactoring to align PhysicsControlComponent and RigidBodyWithControl. Also fixes some problems with collisions
#jira UE-168736,UE-163102
#rb timothy.daoust

[CL 30968089 by danny chapman in ue5-main branch]
2024-01-29 09:31:30 -05:00
thomas sarkanen
3a2d1892b3 Fix crash showing debug information for a blend space evaluator with no blendspace
#rb jaime.cifuentes

[CL 30963660 by thomas sarkanen in ue5-main branch]
2024-01-29 04:16:15 -05:00
sergio gardeazabal
394d9ac363 [ChaosVD] Adding Scene Queries recording support
- Created CVD Macros to trace the three scene query types we have in all their modes
- Create CVD data wrappers for scene queries related data
- Added support to debug draw implicit objects in CVD directly (without creating a mesh)
- Created a new Scene Query Data inspector. This is a custom details panel which will show the data for any selected query in the viewport


#jira UE-193754, UE-203452, UE-203451, UE-193755
#rb Benn.Gallagher

[CL 30821555 by sergio gardeazabal in ue5-main branch]
2024-01-23 17:46:17 -05:00
carles fernandez
ed1ddd0c71 Simplified logic which decides whether RBAN should be enabled or disabled server side.
p.RigidBodyNodeServer has been removed in favor of the already existing "p.RigidBodyNode". We are now setting this CVar to false via DedicatedServerEngine.ini.
Refactored CVarEnableRigidBodyNode to use FAutoConsoleVariableRef instead of TAutoConsoleVariable.
Using bools directly instead of calling (CVar.GetValueOnAnyThread())

#tests Tested in editor and cooked builds (Development and Test configs).
#rb andrew.ladenberger, evgenii.babinets
[FYI] richard.smith

[CL 30816069 by carles fernandez in ue5-main branch]
2024-01-23 15:37:14 -05:00