Your cart is currently empty!
Note: UCC Swimming Addon Pack required (also UCC requires the Agility Pack
Addon for Swimming Pack)
You can easily use UCC + USC + Crest, No coding required, A perfect example is the
submarine, as it can go beneath the water this shows how to setup for swimming
also.
Open the UCC Main Manager, Setup Scene as per normal.
Setup your character, ensuring you have the swim and board ability added.
Simply open the USC Manager or UCC Addons Manager and setup the Submarine
Gameobject (found in the Crest Submarine demo scene) as you normally would via
quick setup (leave all default values for the driver seat).
In the driver seat section add the Submarine Component and the Submarine Camera
Component to Components To Enable array. Optionally you can just remove the
submarine camera entirely if using another camera or remove that component from
the Submarine GameObject if you setup that camera with UCC.
Add the Crest Simple Floating Object component to the Submarine GameObject.
Then add the freshly added component to the driver seat Components To Disable
array.
Within the Ultimate Character Locomotion Component Abilities section, ensure that
the MoveTowards Ability is at the top, followed by the Board Ability.
Add a box collider with the layer set to water and Is Trigger set to true. Scale it to size
you wish to play in.
Press play, its good to go.
NOTE: You can also use the Custom Water Height and the relative component to
have your character float with the waves.