Then Go with my Solution #3.
If you want this to be a multi-purposed solution for many objects, write it into a component that you can attach to physics actors you want to have this behavior.
- Set
0
for the defaultLinearDamping
float variable on the physics object, or it will get dampened twice - Set the new
LinearDamping
vector to something likeVector3(0.5, 0.5, 0.1)
or0
in Z if you want no air resistance. - Have the component get all child components from its parent, and select only physics components. Store those in an array.
- On tick run the solution 3 code for each physics body that is simulating physics.