Question #290950 on Yade changed: https://answers.launchpad.net/yade/+question/290950
Jan Stránský proposed the following answer: Hello, by default this would work on newer versions of Yade. In your case, you have to set mass and inertia manually O.bodies[top_id].state.mass = someReasonableValueComputedFromVolumeAndDensity O.bodies[top_id].state.inertia = (1,1,1) # does not matter since you have all rotations fixed cheers Jan 2016-04-26 6:46 GMT+02:00 VG <question290...@answers.launchpad.net>: > Question #290950 on Yade changed: > https://answers.launchpad.net/yade/+question/290950 > > VG posted a new comment: > I am using version 1.07.0 > > The output of the two commands are as follows: > > O.bodies[top_id].state.mass > 0.0 > > O.bodies[top_id].state.inertia > Vector3(nan,nan,nan) > > Thanks > Varun > > -- > You received this question notification because your team yade-users is > an answer contact for Yade. > > _______________________________________________ > Mailing list: https://launchpad.net/~yade-users > Post to : yade-users@lists.launchpad.net > Unsubscribe : https://launchpad.net/~yade-users > More help : https://help.launchpad.net/ListHelp > -- You received this question notification because your team yade-users is an answer contact for Yade. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp