AtavismPlayer Class

Namespace
Atavism
Base Types
graph BT Type-->Base0["AtavismMobNode"] click Base0 "/docs/client_api_10.4.0/api/Atavism/AtavismMobNode" Base0-->Base1["AtavismObjectNode"] click Base1 "/docs/client_api_10.4.0/api/Atavism/AtavismObjectNode" Base1-->Base2["object"] Type["AtavismPlayer"] class Type type-node

Syntax

public class AtavismPlayer : AtavismMobNode

Constructors

Events

Fields

Name Constant Value Summary
createdGo
Inherited from AtavismObjectNode
dirUpdate
facing
Inherited from AtavismMobNode
fallingSpeed
Inherited from AtavismMobNode
followTerrain
Inherited from AtavismObjectNode
gameObject
Inherited from AtavismObjectNode
isFalling
Inherited from AtavismMobNode
lastDirection
Inherited from AtavismMobNode
lastDirSent
lastDirTimestamp
Inherited from AtavismMobNode
lastLocTimestamp
Inherited from AtavismObjectNode
lastOrientSent
lastPosition
Inherited from AtavismMobNode
lastUpdateMovmentSent
lastUpdateSent
mobController
Inherited from AtavismObjectNode
movementState
Inherited from AtavismMobNode
objType
Inherited from AtavismObjectNode
oid
Inherited from AtavismObjectNode
orientUpdate
parent
Inherited from AtavismObjectNode
pathInterpolator
Inherited from AtavismMobNode
positionalSoundEmitter
True if the system should call FMOD to notify about position and velocity updates. Velocity only matters for doppler.
Inherited from AtavismMobNode
rubChangeToPos
Inherited from AtavismObjectNode
runChangePos
Inherited from AtavismObjectNode
targetable
Inherited from AtavismObjectNode
useMoveMobNodeForPathInterpolator
Inherited from AtavismMobNode
static
worldManager
Inherited from AtavismObjectNode

Properties

Name Value Summary
Direction Vector3
This property represents the direction vector that comes from the player, and is used to interpolate the position of the player's avatar. MobNode's LastDirection property is the last direction provided by the server.
Facing long
Inherited from AtavismMobNode
FallingSpeed float
Inherited from AtavismMobNode
FollowTerrain bool
Inherited from AtavismObjectNode
GameObject GameObject
InputController AtavismInputController
Interpolator AtavismPathInterpolator
Inherited from AtavismMobNode
IsFalling bool
Inherited from AtavismMobNode
LastDirection Vector3
This property is the movement direction vector last sent by the server. It is used to interpolate the mob's position. The Direction property on the Player class represents the direction as set by the player.
Inherited from AtavismMobNode
MobController AtavismMobController
Inherited from AtavismObjectNode
MovementState MovementState
Inherited from AtavismMobNode
Name string
Inherited from AtavismObjectNode
ObjectType ObjectNodeType
Inherited from AtavismObjectNode
Oid long
Inherited from AtavismObjectNode
Orientation Quaternion
Parent GameObject
Position Vector3
Set and get the object's target position
Inherited from AtavismObjectNode
PositionalSoundEmitter bool
Inherited from AtavismMobNode
Properties Dictionary<string, object>
Inherited from AtavismObjectNode
PropertyNames List<string>
Inherited from AtavismObjectNode
Targetable bool
Inherited from AtavismObjectNode

Methods

Name Value Summary
CanMove() bool
Inherited from AtavismMobNode
CanTurn() bool
Inherited from AtavismMobNode
CheckBooleanProperty(string) bool
Inherited from AtavismObjectNode
GetControllingTransform() Transform
Inherited from AtavismObjectNode
GetProperty(string) object
Inherited from AtavismObjectNode
Init(string, ObjectNodeType, AtavismWorldManager) void
Inherited from AtavismObjectNode
LateTick(float) void
Inherited from AtavismObjectNode
OnDirectionChange() void
Inherited from AtavismMobNode
OnOrientationChange() void
Inherited from AtavismObjectNode
OnPositionChange() void
Inherited from AtavismObjectNode
OnPropertyChange(string) void
Inherited from AtavismObjectNode
PropertyExists(string) bool
Inherited from AtavismObjectNode
RegisterPropertyChangeHandler(string, PropertyChangeEventHandler) void
Inherited from AtavismObjectNode
RemovePropertyChangeHandler(string, PropertyChangeEventHandler) void
Inherited from AtavismObjectNode
SetDirection(Vector3, Vector3, float) void
SetDirLoc(long, Vector3, Vector3) void
Invoke the base SetDirLoc, and then the dirUpdate fields to be consistent with the new position and direction
SetLoc(long, Vector3) void
Inherited from AtavismObjectNode
SetOrientation(Quaternion) void
Inherited from AtavismObjectNode
SetProperty(string, object) void
Inherited from AtavismObjectNode
StartJump() void
Inherited from AtavismMobNode
Tick(float) void
Update the node
Inherited from AtavismMobNode
UpdateControllerDirection(Vector3) void
Inherited from AtavismMobNode
UpdateMobNodePosition(Vector3) void
Inherited from AtavismMobNode
UpdatePlayerPosition(Vector3) void
UpdateProperties(Dictionary<string, object>) void
Set multiple properties at once. We set all the properties first, and then raise the PropertyChange() events so that if multiple properties change in one message, they appear atomic to the scripts.
Inherited from AtavismObjectNode