Skip to content

Commit ca66a3c

Browse files
jsmerelDMsaran-t
authored andcommitted
Make the lowered non-gaps ground-plane invisible.
PiperOrigin-RevId: 263183194
1 parent be7a7dc commit ca66a3c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

dm_control/locomotion/arenas/corridors.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,9 @@ def regenerate(self, random_state):
233233
# Resize the entire corridor first.
234234
super(GapsCorridor, self).regenerate(random_state)
235235

236-
# Move the clear ground plane down.
236+
# Move the ground plane down and make it invisible.
237237
self._ground_plane.pos = [self._current_corridor_length / 2, 0, -10]
238+
self._ground_plane.rgba = [0, 0, 0, 0]
238239

239240
# Clear the existing platform pieces.
240241
self._ground_body.geom.clear()

0 commit comments

Comments
 (0)