Problem with 'add_force', 'Newton engine'

Typically: "How do I... ", "How can I... " questions
Post Reply
quangkhieu
Posts: 4
Joined: 29 Feb 2024, 01:33

Problem with 'add_force', 'Newton engine'

Post 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!!

coppelia
Site Admin
Posts: 10376
Joined: 14 Dec 2012, 00:25

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

Post by coppelia »

Hello,

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

Cheers

Post Reply