raisimTech / raisimLib

Visit www.raisim.com
http://www.raisim.com
Other
341 stars 91 forks source link

How to update the visualization after editting the collision body? #484

Closed JewelryForge closed 3 months ago

JewelryForge commented 1 year ago

I followed the tutorial to edit the collsion body of a link. The dynamics are correctly updated but the visualization seems to have no changes. Also, RaisimServer does not provide a method to update the model manually. Could you please tell me whether there is a method to update the visualization? Thank you!

jhwangbo commented 1 year ago

I guess now the only way is to reconnect. I'll make an API so that you can force the graphics update.

JewelryForge commented 3 months ago

I find now the visualizer is updated if the user uses setCollisionObjectShapeParameters and setCollisionObjectPositionOffset to modify the collision shape. I should close this issue.