Changes

Jump to navigation Jump to search

Documentation/Engine/Units/wiper data

847 bytes added, 17:15, 30 May 2017
First draft.
The '''wiper_data''' unit class is used to define wipers which clear raindrops from the simulated glass panes in the interior view. A separate unit is used for each wiper. They are defined as nameless units, belonging to [[Documentation/Engine/Units/glass_pane_data|glass_pane_data]] via the ''wipers'' attribute and are typically included via '''/def/vehicle/truck/<make.model>/interior/glass.sui'''.

== Attributes ==
{|class="wikitable"
!Name
![[Documentation/Engine/Units#Attribute_types|Type]]
!Default Value
!Description
|-
|center_bone
|string
|
|The name of the bone in the animated interior model's skeleton to use as the wiper's centroid. The bone's Z axis should point 'into' the glass pane (roughly opposite the glass locator's Y axis).
|-
|length
|float
|
|The length of the wiper 'blade' in meters, along the center_bone's X axis.
|}
309
edits

Navigation menu