C# Class Universe.Physics.BulletSPlugin.BSFMotor

Inheritance: BSMotor
Exibir arquivo Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Public Methods

Method Description
BSFMotor ( string useName, float timeScale, float decayTimescale, float friction, float efficiency ) : System
ErrorIsZero ( ) : bool
ErrorIsZero ( float err ) : bool
SetCurrent ( float current ) : void
SetTarget ( float target ) : void
Step ( float timeStep ) : float
StepError ( float timeStep, float error ) : float
ToString ( ) : string
Zero ( ) : void

Method Details

BSFMotor() public method

public BSFMotor ( string useName, float timeScale, float decayTimescale, float friction, float efficiency ) : System
useName string
timeScale float
decayTimescale float
friction float
efficiency float
return System

ErrorIsZero() public method

public ErrorIsZero ( ) : bool
return bool

ErrorIsZero() public method

public ErrorIsZero ( float err ) : bool
err float
return bool

SetCurrent() public method

public SetCurrent ( float current ) : void
current float
return void

SetTarget() public method

public SetTarget ( float target ) : void
target float
return void

Step() public method

public Step ( float timeStep ) : float
timeStep float
return float

StepError() public method

public StepError ( float timeStep, float error ) : float
timeStep float
error float
return float

ToString() public method

public ToString ( ) : string
return string

Zero() public method

public Zero ( ) : void
return void