DOMPhysicsApproach
From Virtual World Web Wiki
Revision as of 21:27, 11 January 2018 by Spark5 (Talk | contribs) (Documentation for the DOMPhysicsApproach class)
Represents a physics command in the DOM that will cause the parent transform to move, using a navmesh agent, until it reaches some other object, optionally stopping if that object is too far away
- Inherits class: DOMPhysicsPathing
- This is a leaf node type. This node type cannot have children.
Remarks [edit]
Properties
- float EscapeDistance {get; set;}
- The distance at which the target is considered "escaped", and the command is complete with failure
- float TargetDistance {get; set;}
- The distance at which the target is considered "approached", and the command is complete with success
- long TargetID {get; set;}
- The distance at which the pathing creature will begin running (if possible, see MaxPace)
Constructors
- DOMPhysicsApproach()
- Constructs a new DOMPhysicsApproach node with default settings
- DOMPhysicsApproach(string title)
- Constructs a new DOMPhysicsApproach node, setting a title at the same time