Joystick Sensor -- Axis: Blender 3D Game Engine


 








  
1.  Axis
Moving the Joystick triggers the sensor.
  • Moving the joystick sends a stream of positive pulses to the connected controller
  • Returning the joystick to the center sends one negative pulse to the connected controller.
   
2.  Number
Number of the axis that triggers the sensor.
  • Number = 1:  Joystick Up/Down and Left/Right
  • Number = 2:  Joystick twist and back paddle
  • Note:  This is for most joysticks
  
3.  Axis Direction
Direction of the axis to use as a trigger event:
  • Number = 1: 
Right Axis  = Joystick right axis
Left Axis    = Joystick left axis
Down Axis  = Joystick down axis
Up Axis      = Joystick up axis
  • Number = 2: 
Left Axis    = Paddle middle to top
Right Axis  = Paddle middle to bottom
Up Axis      = Joystick twist left
Down Axis  = Joystick twist right
  • Note:  This is for most joysticks
  
4.  Threshold:
Creates a circular dead zone around the center of the joystick.
  • Range:  0  to 32768
  • 0 = no dead zone. 
  • 32768 = all dead zone.
  
5.  Index
Index of attached Joysticks.
  • 0 = 1st joystick
  • 1 = 2nd joystick
  • etc.
  
6.  All
All axis directions will trigger the sensor
  • All toggle button enabled:
Number = 1:  Moving the Joystick left/right/back/forward
Number = 2:  Moving the paddle up/down or twisting the joystick left/right
 
  
7.  True Level Triggering
When a sensor is activated, it sends one positive pulse to the attached controller(s).  
  • True Level Triggering disabled:
Sends one positive pulse when the sensor is activated.
  • True Level Triggering enabled:
Continues to send positive pulses as long as the sensor is active.
  • Note:  The number of pulses sent is based on the logic tic rate.  Default is 60 times per second.
   
8.  False Level Triggering
When a sensor is deactivated, it sends one negative pulse to the controller.
  • False Level Triggering disabled:
Sends one negative pulse to the controller when the sensor is deactivated.
  • False Level Triggering enabled:
Continues to send negative pulses as long as the sensor is deactivated.
  • Note:  The number of pulses sent is based on the logic tic rate.  Default is 60 times per second.
   
9.  Trigger Delay
Skips sending pulses to the controller after the 1st pulse is sent
  • Skips the number entered.
  • Note:  Works with True Level and False Level Triggering
   
10.  Level
Part of the State System. 
  • When the State is activated, it checks to see if a mouse button or a keyboard key is pressed.  Sends a pulse to the controller if it is.
   
11.  Tap
When the sensor is activated, a positive pulse is immediately followed by a negative pulse (next frame).
  • True Level Trigger disabled:  Positive pulse becomes a positive pulse immediately followed by a negative pulse (next frame).
  • True Level Trigger enabled and Trigger Delay = 0:  No practical change.  Positive pulse is sent every frame.  Never has the chance to send a negative pulse.
  • True Level Trigger enabled and Trigger Delay greater than 0:  Each positive pulse becomes a positive pulse immediately followed by a negative pulse (next frame).
  • Note: False level triggering is ignored when Tap is enabled.
   
12.  Inv
Inverts the output of the triggers. 
  • A positive trigger event sends a negative pulse to the controller.
  • A negative trigger event sends a positive pulse to the controller.
 
   
The Blender 3D game engine can be used to make and play computer games.  Let your friends download and play your computer game.  Use the Blender 3D game engine to model game characters and 3D environments to create casual video games, first and third person shooters, role playing computer games, racing simulations video games for download.  Sell your games or let people download them for free.