Skip to content

Activate convex hull rendering in python #336

Discussion options

You must be logged in to vote

mujoco.mjtVisFlag.mjVIS_CONVEXHULL is an index into the flags array in MjvOption, and you shouldn't try to assign to it.

In the line of code you pointed at, you would do something like:

self.vopt.flags[mujoco.mjtVisFlag.mjVIS_CONVEXHULL] = 1

Is that what you did and it didn't work?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rohit-kumar-j
Comment options

Answer selected by rohit-kumar-j
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants