Take Camera: Difference between revisions
No edit summary |
(Marked this version for translation) |
||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--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/> | ||
Line 8: | Line 9: | ||
==Usage== | ==Usage== | ||
<!--T:2--> | |||
<p id="tooltip"><code>take camera</code> changes the camera perspective to be from the point of view of the agent executing the code. | <p id="tooltip"><code>take camera</code> changes the camera perspective to be from the point of view of the agent executing the code. | ||
<!--T:3--> | |||
{{#var:take camera}} can be useful for implementing interactive games from the first-person perspective. </p> | {{#var:take camera}} can be useful for implementing interactive games from the first-person perspective. </p> | ||
<!--T:4--> | |||
===Syntax=== | ===Syntax=== | ||
<code>(in reference to the agent itself) take camera</code> | <code>(in reference to the agent itself) take camera</code> | ||
==Related Blocks== | ==Related Blocks== <!--T:5--> | ||
==Relevant Video Resources== | ==Relevant Video Resources== <!--T:6--> | ||
<!--T:7--> | |||
==Relevant Activities== | ==Relevant Activities== | ||
[[Category:Code Block]] | [[Category:Code Block]] | ||
</translate> | </translate> |
Revision as of 21:07, 20 June 2023
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