Drag[en]gine Script Module DragonScript 1.32.1
Loading...
Searching...
No Matches
Dragengine.Commands.CommandsBAAVRHandLocomotion Class Reference

Commands for player controlled BaseActor with BAAVRHandLocomotion action. More...

Inheritance diagram for Dragengine.Commands.CommandsBAAVRHandLocomotion:

Classes

class  HandLocomotionAction
 Base class operating only on actors with BAAVRHandLocomotion action. More...
 
class  StateMachineEventBridge
 Bridge from BAAVRHandLocomotion to BAAStateMachineEvent. More...
 

Static Public Member Functions

static void addCommands (CommandManager commands, ECBehaviorPlayerControllable.Tracker tracker)
 Add commands to command manager.
 
static void addDefaultBindings (DefaultBindingHelper helper, int finger)
 Add default bindings for commands.
 

Detailed Description

Commands for player controlled BaseActor with BAAVRHandLocomotion action.

Version
1.28

Contains commands as sub classes. A static helper method adds instances of each command to the command manager of a BaseGameApp.

Member Function Documentation

◆ addCommands()

static void Dragengine.Commands.CommandsBAAVRHandLocomotion.addCommands ( CommandManager  commands,
ECBehaviorPlayerControllable.Tracker  tracker 
)
static

Add commands to command manager.

Adds these commands:

  • handLocomotionRight: Right hand locomotion
  • handLocomotionLeft: Left hand locomotion

◆ addDefaultBindings()

static void Dragengine.Commands.CommandsBAAVRHandLocomotion.addDefaultBindings ( DefaultBindingHelper  helper,
int  finger 
)
static

Add default bindings for commands.

Adds bindings for these commands if present in binding manager:

  • "handLocomotionRight"
  • "handLocomotionLeft"

Adds binding to two finger interaction. Recommended is middle finger (finger=1) since index finger (finger=0) is usually occupied by hard coded VR runtime functionality.


The documentation for this class was generated from the following file: