Seek:
Filter:
Classes (extension) | Class

Seek
ExtensionExtension

Implementation of the seek steering behaviour
Location: NOT INSTALLED!

Description

The seek steering behavior returns a force that directs an agent toward a target position.

Class Methods

.new

Arguments:

entity

the entity on which the steering force will be applied

targetPos

the position of arrival

Inherited class methods

Instance Methods

.value

Get the calculated force. To be used in the .force_ method of the entity. This is how the steering forces are applied.

Inherited instance methods