Search found 4 matches

by quangkhieu
16 Apr 2024, 05:27
Forum: General questions
Topic: Problem with 'add_force', 'Newton engine'
Replies: 1
Views: 539

Problem with 'add_force', 'Newton engine'

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...
by quangkhieu
13 Mar 2024, 10:58
Forum: General questions
Topic: Shortest distance
Replies: 2
Views: 146

Re: Shortest distance

It works, thanks!!
by quangkhieu
13 Mar 2024, 05:47
Forum: General questions
Topic: Shortest distance
Replies: 2
Views: 146

Shortest distance

Hello,

How can I find position of point on shape's bounding that has shorstest distance to robot's reference frame?
Actually, I want to create a tagent vector , are there other ways to find this?

Thanks!
by quangkhieu
29 Feb 2024, 02:04
Forum: General questions
Topic: How to use sim.handleflag_resetforce ?
Replies: 2
Views: 168

How to use sim.handleflag_resetforce ?

Hello!

I've have some problem with object pushing,
I use sim.addForce to create force that applies on object, and document says that Added forces are cumulative,... and are reset to zero by using the following flag: sim.handleflag_resetforcetorque. How can I use this flag ?

Thanks!