NoMansSky:Reference Guides/TkPhysicsComponentData
From Step Mods | Change The Game
The TkPhysicsComponentData Property adds physics effects to entities.
TkPhysicsComponentData has the following form (example taken from the heater entity):
<Property value="TkPhysicsComponentData.xml"> <Property name="Data" value="TkPhysicsData.xml"> <Property name="Mass" value="0" /> <Property name="Friction" value="0.5" /> <Property name="RollingFriction" value="0.2" /> <Property name="AngularDamping" value="0.2" /> <Property name="LinearDamping" value="0.1" /> <Property name="Gravity" value="20" /> </Property> <Property name="VolumeTriggerType" value="TkVolumeTriggerType.xml"> <Property name="VolumeTriggerType" value="HazardProtection" /> </Property> <Property name="SurfaceProperties" value="None" /> <Property name="TriggerVolume" value="True" /> <Property name="Climbable" value="False" /> <Property name="Floor" value="False" /> <Property name="IgnoreModelOwner" value="False" /> <Property name="NoVehicleCollide" value="False" /> <Property name="NoPlayerCollide" value="False" /> <Property name="CameraInvisible" value="False" /> <Property name="InvisibleForInteraction" value="False" /> <Property name="AllowTeleporter" value="False" /> <Property name="BlockTeleporter" value="False" /> <Property name="DisableGravity" value="False" /> <Property name="SpinOnCreate" value="0" /> </Property>
Many of the properties are self explanatory.
- If TriggerVolume is set to "True", it will enable the VolumeTriggerType in the applicable volume (area of space).
- VolumeTriggerType allows the following settings:
- Open
- GenericInterior - Hides storm effects, enables hazard protection, protects from sentinels
- GenericGlassInterior
- Corridor
- SmallRoom
- LargeRoom
- OpenCovered - storm effects visible, enables hazard protection
- HazardProtection - storm effects visible, enables hazard protection
- FieldBoundary
- Custom_Biodome
- Portal
- VehicleBoost
- NexusPlaza
- NexusCommunityHub
- NexusHangar