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
Oh damn you're right. So the comment // copy arena memory is basically a lie eh?
It should either be // set arena pointers, don't copy memory or we should actually copy the memory...
I have no recollection of this being a deliberate choice, seems like a strange thing to do. @nimrod-gileadi, @erez-tom, @thowell, any such recollection?
Marking this as a bug, even if we end up deciding that it's deliberate, the inline and API docs should be updated.
Hi,
I have an issue with
mj_copyData
not copying contact details. Not sure if this is a bug or something intended.Here is a minimal model:
minimal XML
It has a sphere in contact with a ground plane.
I found the issue with
mj_copyData
in C++, but it can be reproduced in python too:minimal Python reproduction case
The output is:
So the copy preserves
ncon
, but doesn't seem to copy contact details over (e.g. colliding geoms).The text was updated successfully, but these errors were encountered: