MovementPlugin

Undocumented in source.

Members

Functions

collide
vec3 collide(vec3 point, float radius, float height)
Undocumented in source. Be warned that the author may not have intended to support it.
gatherInputs
InputState gatherInputs()
Undocumented in source. Be warned that the author may not have intended to support it.
handleFlight
vec3 handleFlight(vec3 speed, float dt)
Undocumented in source. Be warned that the author may not have intended to support it.
handleMouse
void handleMouse()
Undocumented in source. Be warned that the author may not have intended to support it.
handleWalk
vec3 handleWalk(vec3 speed, float dt)
Undocumented in source. Be warned that the author may not have intended to support it.
init
void init(IPluginManager pluginman)
Undocumented in source. Be warned that the author may not have intended to support it.
isCurrentChunkLoaded
bool isCurrentChunkLoaded()
Undocumented in source. Be warned that the author may not have intended to support it.
movePlayer
vec3 movePlayer(vec3 pos, vec3 delta, float dt)
Undocumented in source. Be warned that the author may not have intended to support it.
onPreUpdateEvent
void onPreUpdateEvent(PreUpdateEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
registerResources
void registerResources(IResourceManagerRegistry resmanRegistry)
Undocumented in source. Be warned that the author may not have intended to support it.
speedDown
void speedDown(string )
Undocumented in source. Be warned that the author may not have intended to support it.
speedUp
void speedUp(string )
Undocumented in source. Be warned that the author may not have intended to support it.
toCameraCoordinateSystem
vec3 toCameraCoordinateSystem(vec3 vector)
Undocumented in source. Be warned that the author may not have intended to support it.
toggleFlying
void toggleFlying(string )
Undocumented in source. Be warned that the author may not have intended to support it.
toggleNoclip
void toggleNoclip(string )
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin IdAndSemverFrom!"voxelman.movement.plugininfo"
Undocumented in source.

Structs

InputState
struct InputState
Undocumented in source.

Variables

airSpeed
float airSpeed;
Undocumented in source.
blockPlugin
BlockPluginClient blockPlugin;
Undocumented in source.
clientWorld
ClientWorld clientWorld;
Undocumented in source.
dbg
Debugger dbg;
Undocumented in source.
evDispatcher
EventDispatcherPlugin evDispatcher;
Undocumented in source.
eyesHeight
float eyesHeight;
Undocumented in source.
flightCameraBoostOpt
ConfigOption flightCameraBoostOpt;
Undocumented in source.
flightCameraSpeedOpt
ConfigOption flightCameraSpeedOpt;
Undocumented in source.
fpsCameraBoostOpt
ConfigOption fpsCameraBoostOpt;
Undocumented in source.
fpsCameraSpeedOpt
ConfigOption fpsCameraSpeedOpt;
Undocumented in source.
friction
float friction;
Undocumented in source.
graphics
GraphicsPlugin graphics;
Undocumented in source.
gravity
float gravity;
Undocumented in source.
guiPlugin
GuiPlugin guiPlugin;
Undocumented in source.
height
float height;
Undocumented in source.
input
InputPlugin input;
Undocumented in source.
isFlying
bool isFlying;
Undocumented in source.
jumpHeight
float jumpHeight;
Undocumented in source.
jumpSpeed
float jumpSpeed;
Undocumented in source.
jumpTime
float jumpTime;
Undocumented in source.
maxFallSpeed
float maxFallSpeed;
Undocumented in source.
noclip
bool noclip;
Undocumented in source.
onGround
bool onGround;
Undocumented in source.
radius
float radius;
Undocumented in source.
speed
vec3 speed;
Undocumented in source.

Meta