Closed namheegordonkim closed 3 years ago
Hi there! There should be no problems with free objects in the scene. See the grasp environment for an example of a free ball that the hand manipulates:
https://github.com/google/brax/blob/main/brax/envs/grasp.py
If you're seeing a problem with objects that have no joints, please let us know.
@erikfrey thanks for the quick reply. Okay, I think I was mistaken. I'll close this issue.
Hi,
I noticed that the config parser does not like any of the bodies in the protobuf environment definition missing joints or actuators. However, I would like to spawn physically-based spheres in the environment that can be interacted with the character but does not have joints of their own. Is this currently supported?
What I tried: I created a ball object with this protobuf string:
It does spawn a ball, albeit with a weird initial position ([0, 0, 1], and then falls down). However, the joint is limited between -10 and 10, which doesn't make it a truly free object.
Any thoughts would be appreciated. Thanks!