A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by lesPaul456 » Thu Jan 07, 2010 3:15 pm
Is there an easy way for me to calculate the moment of inertia through code? Right now I have no idea of how I should be doing this.
Thanks!
-

lesPaul456
-
- Posts: 17
- Joined: Thu Dec 31, 2009 9:24 pm
by PJani » Fri Jan 08, 2010 8:58 am
| i7-5930k@4.2Ghz, EVGA 980Ti FTW, 32GB RAM@3000 |
| Dell XPS 13 9370, i7-8550U, 16GB RAM |
| Ogre 1.7.4 | VC++ 9 | custom OgreNewt, Newton 300 |
| C/C++, C# |
-

PJani
-
- Posts: 448
- Joined: Mon Feb 02, 2009 7:18 pm
- Location: Slovenia
by JernejL » Fri Jan 08, 2010 9:08 am
Try just NewtonConvexCollisionCalculateInertialMatrix, forum automaticly turns newton function names into links.
-

JernejL
-
- Posts: 1587
- Joined: Mon Dec 06, 2004 2:00 pm
- Location: Slovenia
-
by PJani » Fri Jan 08, 2010 10:25 am
Delfi wrote:Try just NewtonConvexCollisionCalculateInertialMatrix, forum automaticly turns newton function names into links.
Didn't know that, thx.
Anyway i forgot to say you have to multiply result returned by this function by its mass...
| i7-5930k@4.2Ghz, EVGA 980Ti FTW, 32GB RAM@3000 |
| Dell XPS 13 9370, i7-8550U, 16GB RAM |
| Ogre 1.7.4 | VC++ 9 | custom OgreNewt, Newton 300 |
| C/C++, C# |
-

PJani
-
- Posts: 448
- Joined: Mon Feb 02, 2009 7:18 pm
- Location: Slovenia
by lesPaul456 » Mon Jan 11, 2010 1:28 pm
Thanks guys!
-

lesPaul456
-
- Posts: 17
- Joined: Thu Dec 31, 2009 9:24 pm
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 470 guests