<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://g1r-mp.com/wiki/index.php?action=history&amp;feed=atom&amp;title=UpdateCameraPose</id>
	<title>UpdateCameraPose - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://g1r-mp.com/wiki/index.php?action=history&amp;feed=atom&amp;title=UpdateCameraPose"/>
	<link rel="alternate" type="text/html" href="https://g1r-mp.com/wiki/index.php?title=UpdateCameraPose&amp;action=history"/>
	<updated>2026-09-19T15:45:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://g1r-mp.com/wiki/index.php?title=UpdateCameraPose&amp;diff=902&amp;oldid=prev</id>
		<title>QCherry: Document upcoming 0.1.4 weapon confirmation and mouse camera APIs</title>
		<link rel="alternate" type="text/html" href="https://g1r-mp.com/wiki/index.php?title=UpdateCameraPose&amp;diff=902&amp;oldid=prev"/>
		<updated>2026-09-19T13:53:45Z</updated>

		<summary type="html">&lt;p&gt;Document upcoming 0.1.4 weapon confirmation and mouse camera APIs&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= UpdateCameraPose =&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Client-side; since 0.1.4 (in development, not public 0.1.3).&amp;#039;&amp;#039;&amp;#039; Alias: &amp;lt;code&amp;gt;updateCameraPose&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
boolean UpdateCameraPose(table pose)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Updates a ready scripted camera already owned by the calling resource. This does not acquire a camera. &amp;lt;code&amp;gt;pose&amp;lt;/code&amp;gt; supports x, y, z in metres; yaw, pitch, roll in degrees; and fov. Omitted fields use the last acknowledged pose. Non-finite or out-of-range values are rejected. For continuous control, maintain and submit your complete desired pose.&lt;br /&gt;
&lt;br /&gt;
Returns true for mailbox acceptance, not a command ID or native completion. Multiple updates coalesce to the newest pose. At most one update is awaiting native acknowledgement; publication is limited to approximately 60 Hz. &amp;lt;code&amp;gt;onClientCameraStreamError(reason)&amp;lt;/code&amp;gt; reports a failed update or a 2-second stream timeout. A timed-out owned stream releases its camera. Ordinary camera commands keep their existing result event.&lt;br /&gt;
&lt;br /&gt;
Acquire through &amp;lt;code&amp;gt;SetCameraPose&amp;lt;/code&amp;gt; and wait for &amp;lt;code&amp;gt;onClientCameraCommandResult&amp;lt;/code&amp;gt;; release with &amp;lt;code&amp;gt;ResetCameraPos&amp;lt;/code&amp;gt;. See [[Mouse capture]] for mouse-driven examples and test commands.&lt;br /&gt;
[[Category:Lua API]]&lt;br /&gt;
[[Category:Client Functions]]&lt;br /&gt;
[[Category:Lua Functions]]&lt;/div&gt;</summary>
		<author><name>QCherry</name></author>
	</entry>
</feed>