Editing
Entity Modules
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== rotator == Rotates itself in order to face a specified entity === Inputs === * $RotateTowards <string> ** Start rotating towards the specified entity * $StopRotateTowards ** Stop rotating === Keyvalues === * $lookat <string> (Default: eyes) ** Decides at what part of the target the entity should look exactly. Possible values: eyes, origin, center, aim (at what the target is looking at) * $projectilespeed <number> (Default: 0) ** The speed of the projectile that would be fired from rotator position. This allows the rotator to lead its aim * $aimoffset <number> (Default: 0) ** Account for gravity by adjusting the rotator by this many degrees for every unit away from the target * $velocitymode <1/0> (Default: 0) ** Set angular velocity instead of setting angles directly. Only works on some entities * $rotationspeedx <number> (Default: 0) ** Rotation speed in x (pitch, up/down) axis * $rotationspeedy <number> (Default: 0) ** Rotation speed in y (yaw, left/right) axis * $rotationlimitx <number> (Default: 0) ** If set to value other than 0, the rotator cannot rotate above this angle in x axis (pitch, up/down) * $rotationlimity <number> (Default: 0 ** If set to value other than 0, the rotator cannot rotate above this angle in y axis (yaw, left/right)
Summary:
Please note that all contributions to SigMod are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
SigMod:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
British English
Views
Read
Edit
Edit source
View history
More
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information