You class

Functions and info related to the player

Constructors

You()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

drag double
getter/setter pair
immobile bool
getter/setter pair
immobileturn bool
getter/setter pair
lastworldpos ↔ dynamic
getter/setter pair
lastworldpos2 ↔ dynamic
getter/setter pair
room Object3D?
getter/setter pair
speed double
getter/setter pair
wield String
getter/setter pair

Static Methods

getMoveDir() → dynamic
What direction are you moving
getWorldPos() Vector3
Where you are in world coordinates - returns vector3f
indoors() → dynamic
Is the player indoors. Used to stop rain while inside Can set a room is always indoors with indoors flag Can set a room to be indoors only if a roof is above the player (autoindoors) Can set a room to be indoors based upon a custom function. For example if camera z is less than a certain amount is in the sea
setImmobile(dynamic isimmobile, {dynamic delay}) → dynamic
Set the player to be immobile in delay seconds
setImmobileTurn(dynamic isimmobile, {dynamic delay}) → dynamic
Set the player to not be able to turn camera (or reenable) in delay seconds
update() → dynamic