In Unreal Engine version 5.4, all Physics Linear Velocity functions inside PrimitiveComponent class are returning always a velocity of (0,0,0), even if the Body Instances are moving. This was working correctly in older versions of the engine (5.3 for example), so it appears to be a Regression.
1- Open an Unreal Engine 5.4 project
2- Create an actor with a static mesh or a skeletal mesh
3- Make some code to move the mesh at runtime
4- Print inside the Tick function of the actor the GetPhysicsLinearVelocity function. You will see that will always return FVector(0,0,0)
5- Try this same steps in 5.3, you will see that it will return the correct velocity of the root bone.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-220493 in the post.
0 |
Component | UE - Simulation - Physics |
---|---|
Affects Versions | 5.4 |
Target Fix | 5.5 |
Fix Commit | 35449701 |
---|
Created | Jul 30, 2024 |
---|---|
Resolved | Aug 12, 2024 |
Updated | Aug 14, 2024 |