AndresTraks / BulletSharpPInvoke

.NET wrapper for the Bullet physics library using Platform Invoke

Home Page:http://andrestraks.github.io/BulletSharp/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No easy way to get the ragdoll part transform rotation of the parent part

anchurcn opened this issue · comments

I want to bind a model to the ragdoll and set the bone position and rotation from the ragdoll's part transform. For example, the elbow rotation should relative to arm coordinates. My English is not that good, sorry. Appreciate for reply.

Objects in Bullet only use world coordinates, so it's not an issue in Bullet/BulletSharp, but rather a question to ask in the PyBullet forum.

I think the idea is to multiply the world transform of the body part with the inverted world transform of its parent. See here.