mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-06 21:57:47 +00:00
GEEKING
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
/* Copyright 2003-2005 ROBLOX Corporation, All Rights Reserved */
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "Humanoid/GettingUp.h"
|
||||
#include "Humanoid/Humanoid.h"
|
||||
#include "V8World/World.h"
|
||||
|
||||
|
||||
namespace RBX {
|
||||
namespace HUMAN {
|
||||
|
||||
const char* const sGettingUp = "GettingUp";
|
||||
|
||||
GettingUp::GettingUp(Humanoid* humanoid, StateType priorState) : Named<Balancing, sGettingUp>(humanoid, priorState, 5000.0f, 300.0f)
|
||||
{
|
||||
if (humanoid && humanoid->getWorld()->getUsingPGSSolver())
|
||||
{
|
||||
setBalanceP(2250.0f);
|
||||
setBalanceD(50.0f);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
Reference in New Issue
Block a user