26-03-2020, 02:01 PM
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.
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.