Skip to content

Add multiple objects #493

Closed Answered by erikfrey
yuichiro-student asked this question in Q&A
Jun 20, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hello,

Here's an example of adding a target to a an environment used for Reacher. The XML specifies a sphere marker for a body that does not move. Setting contype and conaffinity to 0 assures that nothing can interact with the target, but it can still be moved in code, see this line in the reacher env for an example.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@yuichiro-student
Comment options

@erikfrey
Comment options

Answer selected by yuichiro-student
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants