1 Buoyancy Example
The scene has 4 Test Float objects
- Test Float (Player)
- Test Float (1)
- Test Float (2)
- Test Float (3)
This float object implements an addition sample script which serves as a crude player controller e.g. moves when the WASD keys are pressed.
The scene has 320 cube objects equipped with the same basic behaviors as the board configured to use a fast float. These simply serve to demonstrate the efficiency of the effect.
This script is a crude example for a water/ocean SurfaceTool. Typically your custom SurfaceTool would simply find the depth from surface at any given world point. This sample script does that and also simulates a simple wave effect.