This is my very post here so I apologize in advance for any mistakes or misuse of a tool.
I’m new to Unity and am trying to design a very simple game here. For the mechanics, the two key components are a rectangular pad and a cube.
They are both given the same initial velocity of 5f in the z-direction (to the right in the image)
Unless I either specify it on code (C#) or a collision with an obstacle occurs, I want the cube to maintain this velocity.
However, it seems like in some frames, its velocity rapidly decays and then comes back to the former velocity (this behaviour can be confirmed via console) and, eventually, the pad reaches the cube and also surpass it.
I’ve tried to solve this issue via Script Execution Order, exchanging Update with FixedUpdate and vice-versa, adding Physics Materials; all with no luck.
Important to highlight: I’m assuming the difference of functioning is due to the pad being a trigger and the cube is a collider (no “is trigger” marked). But with no friction, no drag nor angular drag, and constantly update via script, I expected the velocity to be constant.
Has anyone had the same issue and found a workaround? Am I missing something?