Open aovando26 opened 1 month ago
Priority Replace the current input handling (which is keyboard-based) with VR controller inputs
By setting to Both we can access API
Controlling from pulling the rope and lever (make the rope equate speed and the rudder direction, left and right)
interactable lever created to control direction of boat
A primitive lever was created, passing in the handle as collider:
A hinge joint was also added have a min, max of (-45, 45)
Rope - Player Control: Only control is to tug/pull and let go. Visual Effect: Sail moves to center when pulling Effect on Boat: Dictates speed & partial direction of boat [direction influenced by lever too]. Extra Notes: Idea is that the boat moves based on wind pushing on sail.
Lever - Player Control: Player should be able to pull left/right.
Visual Effect: Rudder moves in opposite direction of lever pull left/right. Effect on Boat: Influence direction boat moves [Shares control with rope, does not influence speed]