public class ForceProviderEntity extends ForceProviderStandard
Class ForceProviderEntity. Provides forceproviderentity functionality for the Hytale server.
java.lang.Object > ForceProviderStandard > ForceProviderEntity
Field Summary
boundingBox
protected
BoundingBox
boundingBox
Field boundingBox.
forceProviderStandardState
protected
ForceProviderStandardState
forceProviderStandardState
Field forceProviderStandardState.
density
protected
double
density
Field density.
area
final
double
area
Field area.
Method Detail
setDensity
public
void
setDensity
(final double density)
Method setDensity.
- Parameters:
final doubledensity
setForceProviderStandardState
public
void
setForceProviderStandardState
(final ForceProviderStandardState forceProviderStandardState)
Method setForceProviderStandardState.
- Parameters:
final ForceProviderStandardStateforceProviderStandardState
getForceProviderStandardState
Method getForceProviderStandardState.
getMass
public
double
getMass
(final double volume)
Method getMass.
- Parameters:
final doublevolume
getVolume
public
double
getVolume
()
Method getVolume.
getProjectedArea
Method getProjectedArea.
- Parameters:
@Nonnull final PhysicsBodyStatebodyStatefinal doublespeed
getDensity
public
double
getDensity
()
Method getDensity.
getFrictionCoefficient
public
double
getFrictionCoefficient
()
Method getFrictionCoefficient.