When you enable the physics substepping, if you run the console command p.Chaos.Solver.DebugDrawSpatialAccelerationStructure 1, you can see how does not follow the physical object. The user that reported the case has attached a repro project where you can test this issue immediately.
The issue happens mainly when the application runs at 30-40 fps or less. Due to the process of substepping altering physics deltatime, there must be an error that makes SpatialAccelerationStructure to break.
I've been debugging and if it helps, it looks like KinematicsParticles of PBDRigidsSOAs.h is setting the position wrong.
Lastly, if you force the application to run at 2 frames, you can see the issue more clearly. The Spatial Structure is rendered 1 position to the final one. If substepping calculates 6 possible positions, the physical cube moves to the 6th, while the Spatial Structure stays at the 5th.
Use the repro SpatialAcceleration project or create a new one:
1- Go to ProjectSettings/Physics/Framerate and enable Substepping
2- Create a Level and with a Cube.
3- In the Level Blueprint, execute the following commands:
i have this problem UE4CC-Windows-58DC12AF4B97F057BD108FBFF569B2E9_0000
I am not able to find world outliner how to enable it?
How to achieve HLSL Multiple Render Target in Material blueprints?
What method is used to fill polygonal regions when drawing spline mesh at run time?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
How can i modify the param name in EQS node
Delay nodes occasionally don't fire the "Completed" output in a nativized build
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-209877 in the post.
4 |
Component | UE - Simulation - Physics |
---|---|
Affects Versions | 5.3.2 |
Target Fix | 5.6 |
Created | Mar 15, 2024 |
---|---|
Updated | Nov 1, 2024 |