Issue seems to be related to NpRigidDynamic::setKinematicTarget.
When called by itself (like in the case of Kinematic bodies moved without teleportation), the simulated actor is woken and is put back to sleep in the next frame.
However, if NpRigidDynamic::setGlobalPose is used (either by itself or immediately after setKinematicTarget), the simulated actor is woken and does not put to sleep again until it has rested on the Kinematic actor and has elapsed its sleep threshold. This happens when the teleport flag is used (or if the object is marked as Static and the early out check is removed from UPrimitiveComponent::MoveComponentImpl).
As noted in the repro steps, this seems to only occur under certain play conditions (e.g. in PIE but not in "Standalone Game", "Launch", or Packaged Win64 builds).
1. Download and open the attached PhysSleep project (built with 4.14).
2. Open the editor and PIE.
3. Press T (or D-Pad left) to toggle the teleport tag to true.
4. Press Space Bar (or D-Pad down) to move the Kinematic actor.
5. Press T (or D-Pad left) to toggle the teleport tag to false.
6. Press Space Bar (or D-Pad down) to move the Kinematic actor.
7. Repeat steps 3 - 6 in "PIE", "Standalone Game", and in Packaged games.
Expected: After step 4 and step 6, once the kinematic actor is moved, the simulated actor should fall.
Actual: After step 4, the simulated actor falls. After step 6, the simulated actor "hangs" in the air (currently only observed in PIE).
I am not able to find world outliner how to enable it?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
Delay nodes occasionally don't fire the "Completed" output in a nativized build
I'm working on a VR Project and I cannot add Nav Mesh to the stairs??
How does TextureRenderTarget2D get TArray<uint8> type data?
How can i modify the param name in EQS node
Hey, why do i get this when i snap two similar meshes together?
What method is used to fill polygonal regions when drawing spline mesh at run time?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-34235 in the post.
0 |
Component | UE - Simulation - Physics |
---|---|
Affects Versions | 4.12, 4.13 |
Target Fix | 4.14 |
Fix Commit | 3141681 |
---|---|
Release Commit | 3159180 |
Created | Aug 4, 2016 |
---|---|
Resolved | Sep 29, 2016 |
Updated | Apr 27, 2018 |