DOMPhysicsPathing
From Virtual World Web Wiki
Revision as of 21:27, 11 January 2018 by Spark5 (Talk | contribs) (Documentation for the DOMPhysicsPathing class)
Represents a physics command in the DOM that will cause the parent transform to move, using a navmesh agent, until some conditions are met.
- Inherits class: DOMPhysicsOperation
- This is a leaf node type. This node type cannot have children.
Remarks [edit]
Properties
- DOMPhysicsPace MaxPace {get; set;}
- The maximum speed with which the parent transform should move, in the case of a creature, appropriate animations should be triggered.
- float RunDistance {get; set;}
- The distance at which the pathing creature will begin running (if possible, see MaxPace)
- float SprintDistance {get; set;}
- The distance at which the pathing creature will begin sprinting (if possible, see MaxPace)