Skip to main content

FlyCamInputController

A class in Root.Township, the global namespace.

Fly cam hand input: places each hand in front of the camera and maps grab to mouse buttons or gamepad triggers.

Constructors​

MemberWhat it is
FlyCamInputController(PlayerInput controller)Creates a FlyCamInputController from controller.

Methods​

MemberWhat it is
override void TriggerHaptics(float strength, float frequency, float timeRemaining)Does nothing; the fly cam has no haptics.
protected override void PopulateInput(ControllerInput input)Sets hand position, and grab from the trigger or mouse button on that side; middle mouse is grab assist.