added LICENSE.txt and AUTHORS.txt file
add MultiBody Custom Creation example, to show how to import data from a URDF file and fill up your own data structures. add btMultiBody::setBaseWorldTransform method todo: fix cmake build, this patch is premake only
This commit is contained in:
@@ -178,6 +178,13 @@ public:
|
||||
{
|
||||
m_basePos = pos;
|
||||
}
|
||||
|
||||
void setBaseWorldTransform(const btTransform& tr)
|
||||
{
|
||||
setBasePos(tr.getOrigin());
|
||||
setWorldToBaseRot(tr.getRotation().inverse());
|
||||
|
||||
}
|
||||
void setBaseVel(const btVector3 &vel)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user