Colisionado

From StarLogo Nova Wiki
Revision as of 20:07, 12 August 2023 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Other languages:
The collidee block

Special:MyLanguage/collidee is a bloque de código part of the detección drawer.

Uso

Special:MyLanguage/collidee is used to refer to the agente that has been collided with when used inside a Special:MyLanguage/On Collision With Do stack of code. This block is used as a enchufe in other blocks, such as eliminar agente [_].

collidee is a code block part of the Detection drawer.

Usage

collidee is used to refer to the agent that has been collided with when used inside a on collision with [▼] do stack of code. This block is used as a socket in other blocks, such as delete agent [_].

Sintaxis

colisionado

Example

When a predator agent collides with a prey agent (i.e. they have the same x, y, and z coordinates) the predator deletes the prey agent. This interaction makes it appear as if the predator eats the prey.

Para tener en cuenta

Special:MyLanguage/collidee solo tiene significado cuando se usa dentro de un stack de código inicializado por un Special:MyLanguage/On Collision With Do bloquear.

Bloque relacionado

Actividades relevantes