Corgi Engine  v8.8
MoreMountains.CorgiEngine.CorgiControllerPhysicsVolume2D Class Reference

Add this class to an area (water for example) and it will pass its parameters to any character that gets into it. More...

Inheritance diagram for MoreMountains.CorgiEngine.CorgiControllerPhysicsVolume2D:
MoreMountains.CorgiEngine.CorgiMonoBehaviour MoreMountains.CorgiEngine.GravityZone

Public Attributes

CorgiControllerParameters ControllerParameters
 the new parameters meant to override the olds ones More...
 
bool ResetForcesOnEntry = false
 if this is true, all forces currently applied to this controller will be reset on entry More...
 
bool MultiplyForcesOnEntry = false
 if this is true, forces will be multiplied by the values specified below More...
 
Vector2 ForceMultiplierOnEntry = Vector2.zero
 the force by which to multiply the current forces More...
 

Detailed Description

Add this class to an area (water for example) and it will pass its parameters to any character that gets into it.

Member Data Documentation

◆ ControllerParameters

CorgiControllerParameters MoreMountains.CorgiEngine.CorgiControllerPhysicsVolume2D.ControllerParameters

the new parameters meant to override the olds ones

◆ ForceMultiplierOnEntry

Vector2 MoreMountains.CorgiEngine.CorgiControllerPhysicsVolume2D.ForceMultiplierOnEntry = Vector2.zero

the force by which to multiply the current forces

◆ MultiplyForcesOnEntry

bool MoreMountains.CorgiEngine.CorgiControllerPhysicsVolume2D.MultiplyForcesOnEntry = false

if this is true, forces will be multiplied by the values specified below

◆ ResetForcesOnEntry

bool MoreMountains.CorgiEngine.CorgiControllerPhysicsVolume2D.ResetForcesOnEntry = false

if this is true, all forces currently applied to this controller will be reset on entry


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