public class PhysicsValues implements Component
Class PhysicsValues. Provides physicsvalues functionality for the Hytale server.
java.lang.Object > PhysicsValues
Field Summary
mass
protected
double
mass
Field mass.
dragCoefficient
protected
double
dragCoefficient
Field dragCoefficient.
invertedGravity
protected
boolean
invertedGravity
Field invertedGravity.
Method Detail
getComponentType
public
PhysicsValues>
getComponentType
()
Method getComponentType.
PhysicsValues
public
public
PhysicsValues
()
Method PhysicsValues.
resetToDefault
public
void
resetToDefault
()
Method resetToDefault.
scale
public
void
scale
(final float scale)
Method scale.
- Parameters:
final floatscale
getMass
public
double
getMass
()
Method getMass.
getDragCoefficient
public
double
getDragCoefficient
()
Method getDragCoefficient.
isInvertedGravity
public
boolean
isInvertedGravity
()
Method isInvertedGravity.
toString
public
String
toString
()
Method toString.