Skip to content

keenanwoodall/Piranha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Piranha

A simple tool to make rigidbodies swarm a mesh in Unity.

Works on Mesh Filters and Skinned Mesh Renderers.

1

Setup

  1. Add the PiranhaTarget component to a game object with a Mesh Filter or Skinned Mesh Renderer.
  2. Drag any rigidbodies you want to swarm the target into the Piranhas list.
  3. Hit play!

Options

  • Increase Force to change how attracted the rigidbodies are to the target. 2
  • Change the Activation Mode to Distance to prevent rigidbodies from swarming the target unless they are within the Activation Distance. 3

About

A very simple tool to make rigidbodies swarm a mesh in Unity.

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages