DOMPhysicsFollow
From Virtual World Web Wiki
Represents a physics command in the DOM that will cause the parent transform to move, using a navmesh agent, following some other transform in the scene.
- Inherits class: DOMPhysicsPathing
- This is a leaf node type. This node type cannot have children.
Remarks [edit]
Properties
- bool AlwaysFace {get; set;}
- True if the following object should always try to face the target object even if there's no following movement.
- float MaxDistance {get; set;}
- The distance at which this transform will begin trying to follow
- float MinDistance {get; set;}
- The closest this transform will try to get to the other
- long TargetID {get; set;}
- The distance at which the pathing creature will begin running (if possible, see MaxPace)
Constructors
- DOMPhysicsFollow()
- Constructs a new DOMPhysicsFollow node with default settings
- DOMPhysicsFollow(string title)
- Constructs a new DOMPhysicsFollow node, setting a title at the same time