DOMPhysicsPathTo

From Virtual World Web Wiki
Jump to: navigation, search

Represents a physics command in the DOM that will cause the parent transform to move, using a navmesh agent, until it reaches target coordinates.

  • Inherits class: DOMPhysicsPathing
  • This is a leaf node type. This node type cannot have children.

Remarks [edit]

Properties

float MaxDistance {get; set;}
Gets or sets the acceptance threshold for reaching the target
Point3D Target {get; set;}
Gets or sets the transform's position component
float X {get; set;}
Gets or sets the X part of the transform's position component
float Y {get; set;}
Gets or sets the Y part of the transform's position component
float Z {get; set;}
Gets or sets the Z part of the transform's position component

Constructors

DOMPhysicsPathTo()
Constructs a new DOMPhysicsPathTo node with default settings
DOMPhysicsPathTo(string title)
Constructs a new DOMPhysicsPathTo node, setting a title at the same time