Last updated
Last updated
Support us as a and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our ... become a sponsor today!
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 scene demonstrates the use of the . and components. The sample scene uses a custom to simulate a crude wave effect to demonstrate how you might connect Surface Tool to whatever water/ocean simulation tool you prefer to use.
The example (WaveSurface) defines the surface of the volume and the density of the volume.
The uses the Surface Tool along with the Buoyancy API to calculate and apply a buoyant force on the attached body.
The tool works with the Buoyancy Body to modify the applied drag on the body causing it to experience more drag the more "water" its drafting.
How to access the from your scripts
How to use
How to use
Hot to create and use a custom
The Test Float objects implement the and components which them selves require and apply a component. These 3 components allow the objects to float on the surface of the Ocean component which implements a Surface Tool.
The Ocean object implements the custom script WaveSurface which is a sample implementation of the .
This script is a crude example for a water/ocean . 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.
To learn more about please see the .