You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all. Following the tutorial you all provided, I'm trying to do some simple physics domain randomizations of the cube in the PickCube task like so:
for obj in self.cube._objs:
# modify cube friction
dyn_friction_range = self.domain_rand_cfg['cube']['dyn_friction_range']
static_friction_range = self.domain_rand_cfg['cube']['static_friction_range']
for shape in obj.components[1].collision_shapes:
shape.physical_material.dynamic_friction += np.random.uniform(
dyn_friction_range[0], dyn_friction_range[1])
shape.physical_material.static_friction += np.random.uniform(
static_friction_range[0], static_friction_range[1])
However when I do this, it seems that setting the friction values for one object in self.cube._objs sets the same values for all the actor objects. Is this a bug or am I doing something wrong? Thanks!
The text was updated successfully, but these errors were encountered:
Hi all. Following the tutorial you all provided, I'm trying to do some simple physics domain randomizations of the cube in the PickCube task like so:
However when I do this, it seems that setting the friction values for one object in self.cube._objs sets the same values for all the actor objects. Is this a bug or am I doing something wrong? Thanks!
The text was updated successfully, but these errors were encountered: