13-01-2021, 08:49 AM
I'd like to create a rod whose length is 0.2m. I wonder how to set the initial length of the rod, and I don't need to change it in run time.
Thank you very much.
Thank you very much.
(13-01-2021, 08:49 AM)Mingrui Wrote: [ -> ]I'd like to create a rod whose length is 0.2m. I wonder how to set the initial length of the rod, and I don't need to change it in run time.
Thank you very much.
(13-01-2021, 08:51 AM)josemendez Wrote: [ -> ]You can set both the shape and the length of the rod by clicking the "edit path" button and editing the curve that defines its shape. See:Thanks for your help.
http://obi.virtualmethodstudio.com/tutor...setup.html
(13-01-2021, 10:53 AM)Mingrui Wrote: [ -> ]Thanks for your help.
Another question: What does the white line (especially the middle vertical line) mean? Does it control the distances between particles? (screenshot is attached)
(13-01-2021, 10:57 AM)josemendez Wrote: [ -> ]I can't see any screenshots attached.Sorry, the screenshot is attached here.
I guess you refer to the white lines that serve as guides for the shape of the rod. They let you visualize the centerline, orientation and thickness of the rod. Particle distance is not visually represented, you can just add a ObiParticleRenderer component to the rod to visualize them. See:
http://obi.virtualmethodstudio.com/tutor...ering.html
(13-01-2021, 11:01 AM)Mingrui Wrote: [ -> ]Sorry, the screenshot is attached here.