Message 1 of 3
getting center of mass in mm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello.
I am trying to write a script to parse through all components and write their XYZ coordinates to a file. So far everything works except the XYZ coordinates. What I get are insanely large values. How can I convert these values to say.. MM?
Example:
if I use "x = child.physicalProperties.centerOfMass.x"
I will get a HUGE number like -0.2487257213245866
(the actual value in mm is 26.5002)
I am trying to get the center of mass.