This commit is contained in:
watrabi
2025-10-28 14:05:46 -04:00
parent 977f1ff4b8
commit c93494f795
452 changed files with 47860 additions and 152 deletions
+30
View File
@@ -0,0 +1,30 @@
/* Copyright 2003-2005 ROBLOX Corporation, All Rights Reserved */
#pragma once
#include "Humanoid/Balancing.h"
#include "Util/Name.h"
namespace RBX {
namespace HUMAN {
// Flying occurs when there's no ground below you. You have the ability
// to turn around the y-axis, but not much else.
extern const char* const sRagdoll;
class Ragdoll : public Named<HumanoidState, sRagdoll>
{
private:
typedef Named<HumanoidState, sRagdoll> Super;
/*override*/ StateType getStateType() const {return RAGDOLL;}
/*override*/ void onStepImpl();
/*override*/ void onComputeForceImpl() {}
/*override*/ bool enableAutoJump() const { return false; }
public:
Ragdoll(Humanoid* humanoid, StateType priorState);
~Ragdoll();
};
} // namespace HUMAN
} // namespace