A simple script that allows meshes to be deformed by impacting objects and update collision dynamically.
The name is short for Pseudo soft body.
Features:
~Simple to use - add the PsoftBody component to any game object with a mesh filter and collision
~Inspector settings complete with tool-tips to help adjust the deformation to your liking
~Collision can be updated dynamically
~Deformations can be made using raycasts or by impacting colliders
~Source code can be modified if you fancy
Notes:
-Tested and working in unity 4.7 though the example scenes are unity 5 only.
-Skinned meshes are not supported at this time.
-Dynamic collision on rigid bodies in Unity 5 is not supported on meshes with more than 256 vertices due to mesh colliders not being able to have more than 256 polygons with rigid bodies, as well as needing to be convex.
-The shape of the colliding object is not taken into account, impacts are simulated as round. This keeps the calculation simple and fast.
-The better normal recalculation script included with this was written by the nice man at schemingdeveloper.com