The seek steering behavior returns a force that directs an agent toward a target position.
entity |
the entity on which the steering force will be applied |
targetPos |
the position of arrival |
Get the calculated force. To be used in the .force_ method of the entity. This is how the steering forces are applied.