Take Camera: Difference between revisions
(add tooltip text) |
mNo edit summary |
||
Line 4: | Line 4: | ||
<!--T:1--> | <!--T:1--> | ||
[[Category:Agents]] | [[Category:Agents]] | ||
<section begin=image/>[[File:Take Camera.png|alt=take camera block|thumb]]<section end=image | <section begin=image/>[[File:Take Camera.png|alt=take camera block|thumb]]<section end=image/><p id="tooltip">Enables perspective of over-agent’s-shoulder view; i.e., the camera follows the agent around.</p> | ||
'''<code>take camera</code>'''<section end=name/> is a [[code block]] part of the [[agents]] drawer. | {{#vardefine:take camera|<code>take camera</code>}}<section begin=name/>'''<code>take camera</code>'''<section end=name/> is a [[code block]] part of the [[agents]] drawer. | ||
==Usage== <!--T:8--> | ==Usage== <!--T:8--> |
Revision as of 18:05, 8 August 2023
Enables perspective of over-agent’s-shoulder view; i.e., the camera follows the agent around.
take camera
is a code block part of the agents drawer.
Usage
take camera
changes the camera perspective to be from the point of view of the agent executing the code.
take camera
can be useful for implementing interactive games from the first-person perspective.
Syntax
(in reference to the agent itself) take camera