mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-04 20:57:49 +00:00
35 lines
575 B
C++
35 lines
575 B
C++
/* Copyright 2003-2005 ROBLOX Corporation, All Rights Reserved */
|
|
#include "stdafx.h"
|
|
|
|
#include "Humanoid/Flying.h"
|
|
|
|
#include "Humanoid/Humanoid.h"
|
|
//#include "V8World/Controller.h"
|
|
#include "V8Kernel/Body.h"
|
|
|
|
namespace RBX {
|
|
|
|
namespace HUMAN {
|
|
|
|
|
|
const char* const sFlying = "Flying";
|
|
|
|
Flying::Flying(Humanoid* humanoid, StateType priorState)
|
|
:Named<Balancing, sFlying>(humanoid, priorState)
|
|
{
|
|
setBalanceP(5000.0f);
|
|
}
|
|
|
|
|
|
void Flying::onSimulatorStepImpl(float stepDt)
|
|
{
|
|
// to implement
|
|
}
|
|
|
|
void Flying::onComputeForceImpl()
|
|
{
|
|
// to implement
|
|
}
|
|
|
|
} // HUMAN
|
|
} // namespace
|