Agent properties for rotation
This commit is contained in:
@@ -63,6 +63,8 @@ export class Agent
|
||||
uiFlags: {
|
||||
'allowFirstLife'?: boolean
|
||||
} = {};
|
||||
headRotation = Quaternion.getIdentity();
|
||||
bodyRotation = Quaternion.getIdentity();
|
||||
cameraLookAt: Vector3 = new Vector3([0.979546, 0.105575, -0.171303]);
|
||||
cameraCenter: Vector3 = new Vector3([199.58, 203.95, 24.304]);
|
||||
cameraLeftAxis: Vector3 = new Vector3([-1.0, 0.0, 0]);
|
||||
@@ -237,8 +239,8 @@ export class Agent
|
||||
agentUpdate.AgentData = {
|
||||
AgentID: this.agentID,
|
||||
SessionID: circuit.sessionID,
|
||||
HeadRotation: Quaternion.getIdentity(),
|
||||
BodyRotation: Quaternion.getIdentity(),
|
||||
HeadRotation: this.headRotation,
|
||||
BodyRotation: this.bodyRotation,
|
||||
State: AgentState.None,
|
||||
CameraCenter: this.cameraCenter,
|
||||
CameraAtAxis: this.cameraLookAt,
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@caspertech/node-metaverse",
|
||||
"version": "0.5.40",
|
||||
"version": "0.5.53",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@caspertech/node-metaverse",
|
||||
"version": "0.5.40",
|
||||
"version": "0.5.53",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@caspertech/llsd": "^1.0.5",
|
||||
|
||||
Reference in New Issue
Block a user