Activate convex hull rendering in python #336
Answered
by
nimrod-gileadi
rohit-kumar-j
asked this question in
Asking for Help
-
How do we activate the convex hull rendering in python? refer: # toggle joint rendering
mujoco.mjtVisFlag.mjVIS_JOINT = 1 # or 0
# doesn't work
mujoco.mjtVisFlag.mjVIS_CONVEXHULL = 1 # or 0 |
Beta Was this translation helpful? Give feedback.
Answered by
nimrod-gileadi
Jun 10, 2022
Replies: 1 comment 1 reply
-
In the line of code you pointed at, you would do something like:
Is that what you did and it didn't work? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rohit-kumar-j
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mujoco.mjtVisFlag.mjVIS_CONVEXHULL
is an index into theflags
array inMjvOption
, and you shouldn't try to assign to it.In the line of code you pointed at, you would do something like:
Is that what you did and it didn't work?