Adding sphere
- Gautam Ramachandra
- Posts: 65
- Joined: Thu Sep 03, 2015 11:04 pm
Adding sphere
How to add a sphere in opensim environment using python ?
- Dimitar Stanev
- Posts: 1096
- Joined: Fri Jan 31, 2014 5:14 am
Re: Adding sphere
If you are using OpenSim V4.0 then you can attach a geometry to a body
http://myosin.sourceforge.net/1865/clas ... ml#details
Code: Select all
sphere = Sphere(radius);
body.attachGeometry(sphere);