public static class Real.PressurePoint
extends java.lang.Object
| Constructor and Description |
|---|
PressurePoint(Vec2 orig,
float pressure,
float maxTime,
float waveLength)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
Vec2 |
getOrigin(Vec2 dst)
Returns origin of the PressurePoint.
|
public PressurePoint(Vec2 orig, float pressure, float maxTime, float waveLength)
orig - Origin of perturbation.pressure - Pressure pulse (N·m). \n
The maximum half-amplitude of the wave will result from divide this value
with g*rho. So, a pressure of 10000 N·m produces 2 m waves.maxTime - Maximum time of perturbation (s). \n
The effect of the perturbation will decay. When T time will be elapsed,
any effects will remain.waveLength - wave length. \n
To objects falling, similar values to amplitude can be OK. For ships Kelvin
wakes probably length of the ship is a better choice.Bonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com