Applying forces to a scene

Discussion in 'Simulation' started by joemathai, Dec 21, 2016.

  1. Hi,

    I am new to mujoco and would like some help with a project. I have a mujoco model with multiple boxes(randomly generated) on a plane. I would like to apply forces in such a way that it turns the boxes changing the side that faces the top. Is there a way to do this without having to apply random forces individually to the boxes so as to perturb it ?
     
    Last edited: Dec 21, 2016
  2. Emo Todorov

    Emo Todorov Administrator Staff Member

    You have to apply a force to each box. What force you apply is up to you to decide. Random forces will probably do it, but may cause more motion than you want. Alternatively, you could apply forces at the corner - this is more likely to cause the box to flip.