2D Platform Controller  v1.7.0
Autogenerated code documentation for the 2D Platform Controller.
 All Classes Functions Variables Properties
EnemyBounceAndFallInput Class Reference

This is the 'AI' for the bounce and fall controller. Basically it bounces off things. It also has a sense distance and the enemy wont activate until within this distance. More...

Inherits RaycastCharacterInput.

Public Attributes

float senseDistance
 
float direction = -1
 
float bounceVelocity = 5.0f
 
float stunTime = 0.5f
 

Additional Inherited Members

- Public Member Functions inherited from RaycastCharacterInput
virtual void CancelJump ()
 Stop jump from happening, useful for platforms that don't let you jump (or special jump behaviour). More...
 
- Properties inherited from RaycastCharacterInput
virtual float x [get, set]
 The x movement. Use 1.0f or -1.0f to run. Smaller values to walk. More...
 
virtual float y [get, set]
 The y movement. 1.0f = up, -1.0f = down. More...
 
virtual bool jumpButtonHeld [get, set]
 Is the jump button being held down. More...
 
virtual bool jumpButtonDown [get, set]
 Was the jump button pressed this frame. More...
 

Detailed Description

This is the 'AI' for the bounce and fall controller. Basically it bounces off things. It also has a sense distance and the enemy wont activate until within this distance.


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