Added experimental implicit gyroscopic force implementation, one by Michael Ewert, and another by Cooper (from OpenDE)
Will also add Erin Catto's local implicit version from the GDC 2015 tutorial Added demo for btGeneric6DofSpring2Constraint, thanks to Gabor Puhr Add gfxBridge.autogenerateGraphicsObjects method for Bullet 2 demos in new framework (need to implement all Bullet 2 collision shape types...) Use 1,1,1 for local scaling in btStaticPlaneShape
This commit is contained in:
19
Demos3/bullet2/ConstraintDemo/Dof6Spring2Setup.h
Normal file
19
Demos3/bullet2/ConstraintDemo/Dof6Spring2Setup.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef GENERIC_6DOF_SPRING2_CONSTRAINT_DEMO_H
|
||||
#define GENERIC_6DOF_SPRING2_CONSTRAINT_DEMO_H
|
||||
|
||||
#include "Bullet3AppSupport/CommonRigidBodySetup.h"
|
||||
|
||||
struct Dof6Spring2Setup : public CommonRigidBodySetup
|
||||
{
|
||||
struct Dof6Spring2SetupInternalData* m_data;
|
||||
|
||||
Dof6Spring2Setup();
|
||||
virtual ~Dof6Spring2Setup();
|
||||
virtual void initPhysics(GraphicsPhysicsBridge& gfxBridge);
|
||||
|
||||
virtual void stepSimulation(float deltaTime);
|
||||
|
||||
void animate();
|
||||
};
|
||||
|
||||
#endif //GENERIC_6DOF_SPRING2_CONSTRAINT_DEMO_H
|
||||
Reference in New Issue
Block a user