Page 1 of 1

Problem with 'add_force', 'Newton engine'

Posted: 16 Apr 2024, 05:27
by quangkhieu
Hello,
I am using 'Newton engine' for simulation, I want to exert a force F (having wanted magnitude and wanted direction) to an object, so I separate F = [Fx, Fy] and use 'sim.addForceAndTorque' but sometime object only moves in the x or y direction. This happens because it can't overcome [F_fric_x, F_fric_y], however in theory magnitude of F(I set) can overcome friction.
Example, mass of object is 5kg, 'staticFriction' and 'kineticFriction' i set are 0.1, g = 9.81, F = [4.2, 4.2] (magnitude: 6N, direction: pi/4), in theory it must move but in simulation it can't. How can I fix this.
Thanks!!

Re: Problem with 'add_force', 'Newton engine'

Posted: 16 Apr 2024, 14:41
by coppelia
Hello,

this is very specific to the Newton engine. Best would be to check on their forum.

Cheers