Adding Fish¶
Clean visual prefab workflow¶
A source fish prefab may contain only:
- Mesh or
SkinnedMeshRenderer. - Rig and bones when procedural animation is used.
- Materials and textures.
- Optional Animator.
The source prefab does not need ecology or movement components. Built-in components are added to runtime instances.
Add a species¶
- Add an element to
EcosystemConfig.species. - Enter a unique
Species Namesuch asSwordfish. - Assign the visual prefab.
- Assign a reusable ecology profile such as
FishSpecies_Carnivore. - Select movement and animation modes.
- Set population, length and movement ranges.
- Review validation messages at the bottom of the Inspector.
Example:
Species Name: Swordfish
Fish Prefab: Swordfish.prefab
Species: FishSpecies_Carnivore
Starting Population: 3
Swordfish remains a separate species from Shark even when both use the same profile.
Rig expectations¶
Built-in procedural animation discovers skinned-mesh bones and applies a weighted body-to-tail wave. Forward alignment attempts to infer direction from the root and a bone containing tail in its name. Models with unusual bone naming or axes may require a custom controller.