<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://developer.vellocetsoftware.com/index.php?action=history&amp;feed=atom&amp;title=Grimwar%2FEntities%2Ffunc_rotate</id>
	<title>Grimwar/Entities/func rotate - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://developer.vellocetsoftware.com/index.php?action=history&amp;feed=atom&amp;title=Grimwar%2FEntities%2Ffunc_rotate"/>
	<link rel="alternate" type="text/html" href="https://developer.vellocetsoftware.com/w/index.php?title=Grimwar/Entities/func_rotate&amp;action=history"/>
	<updated>2026-10-21T20:39:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://developer.vellocetsoftware.com/w/index.php?title=Grimwar/Entities/func_rotate&amp;diff=227&amp;oldid=prev</id>
		<title>DocumentationBot: Version 1</title>
		<link rel="alternate" type="text/html" href="https://developer.vellocetsoftware.com/w/index.php?title=Grimwar/Entities/func_rotate&amp;diff=227&amp;oldid=prev"/>
		<updated>2026-10-01T04:13:05Z</updated>

		<summary type="html">&lt;p&gt;Version 1&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{GameNav}}&lt;br /&gt;
&lt;br /&gt;
[[Grimwar/Entities|All entities]]&lt;br /&gt;
&lt;br /&gt;
{{Entity icon|func_rotate|section}}&lt;br /&gt;
&lt;br /&gt;
Rotate owned geometry as a door or a continuously moving object.&lt;br /&gt;
&lt;br /&gt;
Placement: Geometry owned by the entity.&lt;br /&gt;
&lt;br /&gt;
== Set it up ==&lt;br /&gt;
&lt;br /&gt;
Parent the geometry beneath the marker and choose local Rotation Axes. Door mode moves between closed and Angle; continuous mode uses open/start to run and close/stop to pause. reverse and set_phase apply to continuous mode. Put a rotating child beneath a moving parent when it should move with that parent.&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
&lt;br /&gt;
These are the initial authoring values. Script inputs and runtime state are listed separately below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Setting !! Default !! Meaning and choices&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;rotation_axes&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Rotation Axes || Y (&amp;lt;code&amp;gt;2&amp;lt;/code&amp;gt;) || Local rotation axes. Select one or more axes. Choices: None (&amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt;), X (&amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;), Y (&amp;lt;code&amp;gt;2&amp;lt;/code&amp;gt;), Z (&amp;lt;code&amp;gt;4&amp;lt;/code&amp;gt;), All (&amp;lt;code&amp;gt;7&amp;lt;/code&amp;gt;).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;angle&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Angle || &amp;lt;code&amp;gt;90&amp;lt;/code&amp;gt; || Door mode only. Signed angle in degrees between closed and open.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;speed&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Speed || &amp;lt;code&amp;gt;90&amp;lt;/code&amp;gt; || Rotation speed in degrees per second. Minimum: &amp;lt;code&amp;gt;0.01&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;loop_continuously&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Loop Continuously || &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; || Rotate continuously on the server tick instead of moving between door-style endpoints. Open/Start runs the rotator; Close/Stop pauses it.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;start_phase&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Start Phase || &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; || Continuous mode only. Initial rotation phase in degrees around every selected axis.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;start_active&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Start Active || &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; || Continuous mode only. Start rotating as soon as the entity initializes.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;reverse_direction&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Reverse Direction || &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; || Continuous mode only. Begin rotating in the negative direction.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;reset_delay&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Reset Delay || &amp;lt;code&amp;gt;-1&amp;lt;/code&amp;gt; || Door mode only. Automatically close after this delay. -1 never closes automatically. Minimum: &amp;lt;code&amp;gt;-1&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;start_locked&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Start Locked || &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; || Value type: &amp;lt;code&amp;gt;bool&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;start_open&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Start Open || &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; || Door mode only. Begin at the open endpoint.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;ignore_nav_mesh&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Ignore Nav Mesh || &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; || Exclude this entity from navigation-mesh building. This does not disable its gameplay collision.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== VSig contract ==&lt;br /&gt;
&lt;br /&gt;
Use the names below with a ref bound to this entity. The value column describes the catalog value type, not a C# method signature. See [[Grimwar/Entities#Read the reference|Read the reference]] for arguments, authority, and common controls.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Kind !! Member !! Value !! Authority / access&lt;br /&gt;
|-&lt;br /&gt;
| Input || &amp;lt;code&amp;gt;close&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; || Server&lt;br /&gt;
|-&lt;br /&gt;
| Input || &amp;lt;code&amp;gt;kill&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;none&amp;lt;/code&amp;gt; || Server&lt;br /&gt;
|-&lt;br /&gt;
| Input || &amp;lt;code&amp;gt;lock&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; || Server&lt;br /&gt;
|-&lt;br /&gt;
| Input || &amp;lt;code&amp;gt;open&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; || Server&lt;br /&gt;
|-&lt;br /&gt;
| Input || &amp;lt;code&amp;gt;reverse&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; || Server&lt;br /&gt;
|-&lt;br /&gt;
| Input || &amp;lt;code&amp;gt;set_angle&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;float&amp;lt;/code&amp;gt; || Server&lt;br /&gt;
|-&lt;br /&gt;
| Input || &amp;lt;code&amp;gt;set_phase&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;float&amp;lt;/code&amp;gt; || Server&lt;br /&gt;
|-&lt;br /&gt;
| Input || &amp;lt;code&amp;gt;set_speed&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;float&amp;lt;/code&amp;gt; || Server&lt;br /&gt;
|-&lt;br /&gt;
| Input || &amp;lt;code&amp;gt;start&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; || Server&lt;br /&gt;
|-&lt;br /&gt;
| Input || &amp;lt;code&amp;gt;stop&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; || Server&lt;br /&gt;
|-&lt;br /&gt;
| Input || &amp;lt;code&amp;gt;toggle&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; || Server&lt;br /&gt;
|-&lt;br /&gt;
| Input || &amp;lt;code&amp;gt;unlock&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; || Server&lt;br /&gt;
|-&lt;br /&gt;
| Output || &amp;lt;code&amp;gt;close&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; || Server&lt;br /&gt;
|-&lt;br /&gt;
| Output || &amp;lt;code&amp;gt;killed&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;none&amp;lt;/code&amp;gt; || Server&lt;br /&gt;
|-&lt;br /&gt;
| Output || &amp;lt;code&amp;gt;open&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; || Server&lt;br /&gt;
|-&lt;br /&gt;
| Output || &amp;lt;code&amp;gt;started&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; || Server&lt;br /&gt;
|-&lt;br /&gt;
| Output || &amp;lt;code&amp;gt;stopped&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; || Server&lt;br /&gt;
|-&lt;br /&gt;
| Property || &amp;lt;code&amp;gt;angle&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;float&amp;lt;/code&amp;gt; || Server; read/write&lt;br /&gt;
|-&lt;br /&gt;
| Property || &amp;lt;code&amp;gt;is_active&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;bool&amp;lt;/code&amp;gt; || Server; read/write&lt;br /&gt;
|-&lt;br /&gt;
| Property || &amp;lt;code&amp;gt;is_locked&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;bool&amp;lt;/code&amp;gt; || Server; read/write&lt;br /&gt;
|-&lt;br /&gt;
| Property || &amp;lt;code&amp;gt;is_open&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;bool&amp;lt;/code&amp;gt; || Server; read/write&lt;br /&gt;
|-&lt;br /&gt;
| Property || &amp;lt;code&amp;gt;is_reversed&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;bool&amp;lt;/code&amp;gt; || Server; read/write&lt;br /&gt;
|-&lt;br /&gt;
| Property || &amp;lt;code&amp;gt;phase&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;float&amp;lt;/code&amp;gt; || Server; read/write&lt;br /&gt;
|-&lt;br /&gt;
| Property || &amp;lt;code&amp;gt;speed&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;float&amp;lt;/code&amp;gt; || Server; read/write&lt;br /&gt;
|-&lt;br /&gt;
| State || &amp;lt;code&amp;gt;state&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;RotateEntityState&amp;lt;/code&amp;gt; || Server; read/write&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Capture &amp;lt;code&amp;gt;ref.state&amp;lt;/code&amp;gt; from one matching entity and use &amp;lt;code&amp;gt;ref.restore(saved_state)&amp;lt;/code&amp;gt; to restore a compatible snapshot.&lt;br /&gt;
&lt;br /&gt;
[[Category:Grimwar entities]]&lt;/div&gt;</summary>
		<author><name>DocumentationBot</name></author>
	</entry>
</feed>