Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Bug in klampt.model.create.primitives.box? #10

#1

I looked into the code for create a box, when mass is not inf, the code is

bmass.setInertia([width/12,depth/12,height/12])

Is this incorrect since mass is not used here?

  • replies 1
  • views 33
  • likes 0
#2

You’re right, this is completely wrong, I hastily adapted it from the unit cube rules. The fix has been pushed to master.