Camera Inject Visible Node Closest To Distance
class CameraInjectVisibleNodeClosestToDistance(node: Node<Any>, env: Physics2DEnvironment<Any>, distance: Double, visionMolecule: Molecule, targetMolecule: Molecule) : AbstractAction<Any>
Content copied to clipboard
Given a list of VisibleNode associated to visionMolecule, it finds the closest to a point located at distance from node in the direction of node's heading, and injects its position in targetMolecule.
If there are no VisibleNodes, targetMolecule will be removed from node.
Constructors
Link copied to clipboard
fun CameraInjectVisibleNodeClosestToDistance(node: Node<Any>, env: Physics2DEnvironment<Any>, distance: Double, visionMolecule: Molecule, targetMolecule: Molecule)
Content copied to clipboard
Functions
Link copied to clipboard
open override fun cloneAction(node: Node<Any>, reaction: Reaction<Any>): CameraInjectVisibleNodeClosestToDistance
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard