NoMansSky:Reference Guides/TkRotationComponentData: Difference between revisions

From Step Mods | Change The Game
m (Z929669 moved page NoMansSky:TkRotationComponentData to NoMansSky:Reference Guides/TkRotationComponentData over a redirect without leaving a redirect: revert)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{PageTitle|logo=nomanssky|title=TkRotationComponentData}}
{{PageTitle|logo=nomanssky|title=TkRotationComponentData}}
{{NMSPage}}__NOTOC__[[Category:NMS-Reference-GameFile]][[Category:NMS-Reference-XML]]
{{NMSPage}}__NOTOC__
== TkRotationComponentData ==
== TkRotationComponentData ==
The ''TkRotationComponentData'' Property adds rotations to things. It is using this Property for things like the rotating jetpack hologram.
The ''TkRotationComponentData'' Property adds rotations to things. It is using this Property for things like the rotating jetpack hologram.
Line 22: Line 22:
* t is always 0 as it isn't used at all by the game.
* t is always 0 as it isn't used at all by the game.


{{alert small‏‎|type=notice|text=Unfortunately, this cannot be applied to planets to make them spin (we tried!) }}
{{AlertSmall‏‎|type=notice|text=Unfortunately, this cannot be applied to planets to make them spin (we tried!) }}

Latest revision as of 04:23, August 7, 2022

Nomanssky flare.png

TkRotationComponentData

TkRotationComponentData[edit | edit source]

The TkRotationComponentData Property adds rotations to things. It is using this Property for things like the rotating jetpack hologram.

The Property has the following form:

    <Property value="TkRotationComponentData.xml">
      <Property name="Speed" value="0.15" />
      <Property name="Axis" value="Vector4f.xml">
        <Property name="x" value="0.4" />
        <Property name="y" value="1" />
        <Property name="z" value="0" />
        <Property name="t" value="0" />
      </Property>
    </Property>

The Properties here are pretty self explanatory.

  • Speed is the speed at which the object rotates around the axis specified.
  • The y-axis is the vertical axis used in game, so to get something to rotate around just the y-axis, all other values within Axis would be set to 0.
  • t is always 0 as it isn't used at all by the game.
Info-Logo.png
NOTE:
Unfortunately, this cannot be applied to planets to make them spin (we tried!)