mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 00:24:40 +00:00
update bullet so it actually works
Moved the addSourceDirectory for physics/Bullet into the Engine/Source/CMakeLists.txt file that way it can actually appear where we expect it to in the solution explorer.
This commit is contained in:
parent
c7be48130a
commit
13fa178cf6
5986 changed files with 1811270 additions and 453803 deletions
19
Engine/lib/bullet/examples/RobotSimulator/MinitaurSetup.h
Normal file
19
Engine/lib/bullet/examples/RobotSimulator/MinitaurSetup.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#ifndef MINITAUR_SIMULATION_SETUP_H
|
||||
#define MINITAUR_SIMULATION_SETUP_H
|
||||
|
||||
#include "LinearMath/btVector3.h"
|
||||
#include "LinearMath/btQuaternion.h"
|
||||
class MinitaurSetup
|
||||
{
|
||||
struct MinitaurSetupInternalData* m_data;
|
||||
void resetPose(class b3RobotSimulatorClientAPI_NoGUI* sim);
|
||||
|
||||
public:
|
||||
MinitaurSetup();
|
||||
virtual ~MinitaurSetup();
|
||||
|
||||
int setupMinitaur(class b3RobotSimulatorClientAPI_NoGUI* sim, const class btVector3& startPos = btVector3(0, 0, 0), const class btQuaternion& startOrn = btQuaternion(0, 0, 0, 1));
|
||||
|
||||
void setDesiredMotorAngle(class b3RobotSimulatorClientAPI_NoGUI* sim, const char* motorName, double desiredAngle, double maxTorque = 3, double kp = 0.1, double kd = 0.9);
|
||||
};
|
||||
#endif //MINITAUR_SIMULATION_SETUP_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue