AtavismMobNode Class

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

Syntax

public class AtavismMobNode : AtavismObjectNode

Constructors

Events

Fields

Name Constant Value Summary
createdGo
Inherited from AtavismObjectNode
facing
fallingSpeed
followTerrain
Inherited from AtavismObjectNode
gameObject
Inherited from AtavismObjectNode
isFalling
lastDirection
lastDirTimestamp
lastLocTimestamp
Inherited from AtavismObjectNode
lastPosition
mobController
Inherited from AtavismObjectNode
movementState
objType
Inherited from AtavismObjectNode
oid
Inherited from AtavismObjectNode
parent
Inherited from AtavismObjectNode
pathInterpolator
positionalSoundEmitter
True if the system should call FMOD to notify about position and velocity updates. Velocity only matters for doppler.
rubChangeToPos
Inherited from AtavismObjectNode
runChangePos
Inherited from AtavismObjectNode
targetable
Inherited from AtavismObjectNode
useMoveMobNodeForPathInterpolator
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
FallingSpeed float
FollowTerrain bool
Inherited from AtavismObjectNode
GameObject GameObject
Inherited from AtavismObjectNode
Interpolator AtavismPathInterpolator
IsFalling bool
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.
MobController AtavismMobController
Inherited from AtavismObjectNode
MovementState MovementState
Name string
Inherited from AtavismObjectNode
ObjectType ObjectNodeType
Inherited from AtavismObjectNode
Oid long
Inherited from AtavismObjectNode
Orientation Quaternion
Inherited from AtavismObjectNode
Parent GameObject
Inherited from AtavismObjectNode
Position Vector3
Set and get the object's target position
Inherited from AtavismObjectNode
PositionalSoundEmitter bool
Properties Dictionary<string, object>
Inherited from AtavismObjectNode
PropertyNames List<string>
Inherited from AtavismObjectNode
Targetable bool
Inherited from AtavismObjectNode

Methods

Name Value Summary
CanMove() bool
CanTurn() bool
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
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
SetDirLoc(long, Vector3, Vector3) void
SetLoc(long, Vector3) void
Inherited from AtavismObjectNode
SetOrientation(Quaternion) void
Inherited from AtavismObjectNode
SetProperty(string, object) void
Inherited from AtavismObjectNode
StartJump() void
Tick(float) void
Update the node
UpdateControllerDirection(Vector3) void
UpdateMobNodePosition(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