// Jolt Physics Library (https://github.com/jrouwe/JoltPhysics) // SPDX-FileCopyrightText: 2023 Jorrit Rouwe // SPDX-License-Identifier: MIT #pragma once #include #include // This test loads a ragdoll from disc, writes it to an object stream, loads it again and simulates it class LoadSaveRigTest : public Test { public: JPH_DECLARE_RTTI_VIRTUAL(JPH_NO_EXPORT, LoadSaveRigTest) // Destructor virtual ~LoadSaveRigTest() override; // Number used to scale the terrain and camera movement to the scene virtual float GetWorldScale() const override { return 0.2f; } virtual void Initialize() override; private: // Our ragdoll Ref mRagdoll; };