Create: Difference between revisions
m (Added image tags) |
No edit summary Tags: Reverted Visual edit: Switched |
||
Line 1: | Line 1: | ||
[[Category:Agents]] | [[Category:Agents]] | ||
<section begin=image/>[[File: | <section begin=image/> | ||
{{#vardefine: | [[File:Take Camera.png|alt=take camera block|thumb]] | ||
<section begin=name/>'''<code> | <section end=image/> | ||
{{#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== | ==Usage== | ||
<code> | <code>take camera</code> changes the camera perspective to be from the point of view of the agent executing the code. | ||
{{#var:take camera}} can be useful for programming first person perspective interactive games. | |||
{{#var: | |||
==Related Blocks== | ==Related Blocks== | ||
==Relevant Video Resources== | ==Relevant Video Resources== |
Revision as of 18:52, 8 August 2022
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 programming first person perspective interactive games.