Waterphysics
Overview
A minimal physics component that stores a restitution (bounciness) value—set to 1 by default—for use in simulating how an entity behaves when interacting with water. It serves as a foundational data holder rather than a full simulation system.
Dependencies & Tags
None identified.
Properties
| Property | Type | Default Value | Description |
|---|---|---|---|
restitution | number | 1 | Coefficient of restitution used for bounce calculations in water. |
Main Functions
This component does not define any public methods beyond its constructor.
Events & Listeners
None.