How to obtain/change the dimensions of bodies during simulation

42 views
Skip to first unread message

Kenny ZHANG

unread,
Nov 24, 2021, 8:11:34 AM11/24/21
to ProjectChrono
Hi, all,

I am new to Chrono and trying to simulate a simple system including several objects of ChBodyEasyBox and ChBodyEasySphere.

I am going to monitor and change the dimensions of the objects during simulation.  I tried the function " obj_ptr->GetCollisionModel()->GetShapeDimensions(0)", but found it returns the dimensions of collision model, not the real dimensions of the objects.

So, I wonder is there any function to obtain and change the dimensions of these objects during simulation?

Thanks in advance and Kindly regards,

Kenny ZHANG
Reply all
Reply to author
Forward
0 new messages