forked from 89Mods/Kerbal-VR
-
Notifications
You must be signed in to change notification settings - Fork 5
InternalModules
JonnyOThan edited this page Jan 9, 2022
·
2 revisions
InternalModules can be added to PROP nodes, INTERNAL nodes, and INTERNAL\PROP nodes.
This is a grabbable element that can supply attitude control (yaw/pitch/roll) for the vessel.
-
stickTransformName
- The name of the transform for the stick. The flightstick will first search for a transform with the given name within the prop that contains this module, and then search the entire IVA model for this transform. The latter feature can be used to turn non-functional flightsticks into functional ones like in the stock IVA models - but the stick has to be parented to a separate transform. -
deflectionAngle
- The maximum tilt angle allowed in degrees. Defaults to 30. -
twistAngle
- The maximum twist angle allowed in degrees. Defaults to 30.
Makes a button pushable with the fingertip. Intended to be added to things that are already clickable in IVA.
-
buttonTransformName
- The name of the transform that contains the collider for the button. -
axis
- The axis in the prop's space that the button moves along while being pushed. Defaults to 0,-1,0 -
pressThreshold
- The distance that the button must be pushed in order for it to trigger theOnMouseDown
message. Defaults to 0.004.
A grabbable throttle lever. Analogue of the stock module InternalLeverThrottle. In fact you can replace usages of InternalLeverThrottle with VRThrottleLever and it should work.
-
leverName
- The name of the transform containing the collider. If one is not found, then the entire IVA is searched which allows for turning non-functional levers into grabbable throttle levers like in the stock IVA seats (as long as they have their own transform). -
angleMin
- The rotation angle when the throttle is at minimum, in degrees. Defaults to -1. -
angleMax
- The rotation angle when the throttle is at maximum, in degrees. Defaults to -90. -
axis
- The rotation axis. Defaults to 1,0,0 -
speed
- The movement speed of the lever when being controlled with the mouse. Has no effect in VR. Defaults to 1.5.