C# Class UnityPlatformer.JumpConstantSpringProperties

Show file Open project: llafuente/unity-platformer Class Usage Examples

Public Properties

Property Type Description
initialVelocity float
minPenetrationSpeed float
penetration float

Public Methods

Method Description
Clone ( int faceDir ) : JumpConstantSpringProperties

Clone

JumpConstantSpringProperties ( float ivel, float pen, float mpenvel ) : System

Constructor

Method Details

Clone() public method

Clone
public Clone ( int faceDir ) : JumpConstantSpringProperties
faceDir int
return JumpConstantSpringProperties

JumpConstantSpringProperties() public method

Constructor
public JumpConstantSpringProperties ( float ivel, float pen, float mpenvel ) : System
ivel float
pen float
mpenvel float
return System

Property Details

initialVelocity public property

Initial velocity
public float initialVelocity
return float

minPenetrationSpeed public property

Penetrate if speed is greater than
public float minPenetrationSpeed
return float

penetration public property

Penetration in units
public float penetration
return float