aboutsummaryrefslogtreecommitdiff
path: root/KaplaDemo/samples/sampleViewer3/SceneRagdollWashingMachine.h
diff options
context:
space:
mode:
Diffstat (limited to 'KaplaDemo/samples/sampleViewer3/SceneRagdollWashingMachine.h')
-rw-r--r--KaplaDemo/samples/sampleViewer3/SceneRagdollWashingMachine.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/KaplaDemo/samples/sampleViewer3/SceneRagdollWashingMachine.h b/KaplaDemo/samples/sampleViewer3/SceneRagdollWashingMachine.h
new file mode 100644
index 00000000..32f4157d
--- /dev/null
+++ b/KaplaDemo/samples/sampleViewer3/SceneRagdollWashingMachine.h
@@ -0,0 +1,25 @@
+#ifndef SCENE_RAGDOLL_WASHING_MACHINE_H
+#define CENE_RAGDOLL_WASHING_MACHINE_H
+
+#include "SceneKapla.h"
+
+using namespace physx;
+
+// ---------------------------------------------------------------------
+class SceneRagdollWashingMachine : public SceneKapla
+{
+ PxReal mChangeSpeedTime;
+ PxU32 mSpeedState;
+ PxRigidDynamic* mWashingMachine;
+public:
+ SceneRagdollWashingMachine(PxPhysics* pxPhysics, PxCooking *pxCooking, bool isGrb,
+ Shader *defaultShader, const char *resourcePath, float slowMotionFactor);
+
+ virtual ~SceneRagdollWashingMachine(){}
+
+ virtual void preSim(float dt);
+
+ virtual void onInit(PxScene* pxScene);
+};
+
+#endif \ No newline at end of file