mirror of
https://github.com/bulletphysics/bullet3
synced 2025-01-08 08:30:16 +00:00
ae8e83988b
Add inverse dynamics / mass matrix code from DeepMimic, thanks to Xue Bin (Jason) Peng Add example how to use stable PD control for humanoid with spherical joints (see humanoidMotionCapture.py) Fix related to TinyRenderer object transforms not updating when using collision filtering
20 lines
261 B
C++
20 lines
261 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
class cShape
|
|
{
|
|
public:
|
|
enum eShape
|
|
{
|
|
eShapeNull,
|
|
eShapeBox,
|
|
eShapeCapsule,
|
|
eShapeSphere,
|
|
eShapeCylinder,
|
|
eShapePlane,
|
|
eShapeMax,
|
|
};
|
|
|
|
static bool ParseShape(const std::string& str, cShape::eShape& out_shape);
|
|
}; |