[Bf-committers] patch: added GetLocalInertia to GameObject
alonlevy1 at gmail.com
Wed Dec 3 21:22:24 CET 2008
I've added a patch to the patch tracker here (my first):
I basically added a function to get the local frame inertia for any game
object, implemented it for bullet and made an empty implementation for sumo
(which is deprecated afaik so I hope is not a problem for accepting).
I have no idea how this fits for 2.50, hope it does, it's a very small
p.s. My overall interest is in using blender to simulate robots, and it
seems I'll probably need to be able to set the inertia tensor independently,
right now it is calculated from the object shape as set in bounds - this is
only correct for a uniform material object, in effect requiring modeling
every small part if you want to get the inertia right, which is of course
not feasible for complex objects (like robots).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Bf-committers