PlayerGetVibration Method |
Gets vibration level for a motor at a specified index.
This returns the largest value found for the specified motor index in all
Joysticks assigned to the Player.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+e8257758c3446d922301bab0e4637a0e5ec1862f
Syntaxpublic float GetVibration(
int motorIndex
)
Parameters
- motorIndex Int32
- Motor index
Return Value
SingleMotor level [float: 0.0 - 1.0]
See Also