26-03-2020, 04:30 PM
(26-03-2020, 02:01 PM)fiasko Wrote: thanks for the quick reply!
The cube is moved by the physics engine: I added an immovable object with the aforementioned cube attached using a prismatic joint. The cube is moving back and forth around its equilibrium point. I also added a high friction material.
When I debug into the Set() function that I created, I can see that velocity and angularVelocity are set inside the struct.
What value is being set for velocity (source.velocity)? As long as it's not zero, friction should kick in.