Property | Type | Description | |
---|---|---|---|
BodyRotation | Quaternion | ||
Camera | AgentCamera | ||
Flags | AgentFlags | ||
HeadRotation | Quaternion | ||
State | AgentState |
Method | Description | |
---|---|---|
AgentMovement ( |
Default constructor
|
|
SendManualUpdate ( |
Builds an AgentUpdate packet entirely from parameters. This will not touch the state of Self.Movement or Self.Movement.Camera in any way
|
|
SendUpdate ( ) : void |
Send new AgentUpdate packet to update our current camera position and rotation
|
|
SendUpdate ( bool reliable ) : void |
Send new AgentUpdate packet to update our current camera position and rotation
|
|
SendUpdate ( bool reliable, |
Send new AgentUpdate packet to update our current camera position and rotation
|
|
TurnToward ( System.Vector3 target ) : bool |
Rotates the avatar body and camera toward a target position. This will also anchor the camera position on the avatar
|
|
UpdateFromHeading ( double heading, bool reliable ) : void |
Send an AgentUpdate with the camera set at the current agent position and pointing towards the heading specified
|
Method | Description | |
---|---|---|
GetControlFlag ( ControlFlags flag ) : bool | ||
ResetControlFlags ( ) : void | ||
SetControlFlag ( ControlFlags flag, bool value ) : void | ||
UpdateTimer_Elapsed ( object obj ) : void |
public AgentMovement ( |
||
client | ||
return | System |
public SendManualUpdate ( |
||
controlFlags | ||
position | System.Vector3 | |
forwardAxis | System.Vector3 | |
leftAxis | System.Vector3 | |
upAxis | System.Vector3 | |
bodyRotation | Quaternion | |
headRotation | Quaternion | |
farClip | float | |
flags | AgentFlags | |
state | AgentState | |
reliable | bool | |
return | void |
public SendUpdate ( bool reliable ) : void | ||
reliable | bool | Whether to require server acknowledgement /// of this packet |
return | void |
public SendUpdate ( bool reliable, |
||
reliable | bool | Whether to require server acknowledgement /// of this packet |
simulator | Simulator to send the update to | |
return | void |
public TurnToward ( System.Vector3 target ) : bool | ||
target | System.Vector3 | Region coordinates to turn toward |
return | bool |
public UpdateFromHeading ( double heading, bool reliable ) : void | ||
heading | double | Camera rotation in radians |
reliable | bool | Whether to send the AgentUpdate reliable /// or not |
return | void |