SITE SEARCH

B-Soft Body Deformation v1.1

B-Soft Body Deformation

B-Soft Body Deformation – download Unity asset
A simple script that allows meshes to be deformed by impacting objects and update collision dynamically.

Features:
~Simple to use - add the BSoftBody component to any game object with a mesh filter and collision
~Fast - Can be optimized to deform about 30K triangles in about 1-2 milliseconds (results may vary depending on CPU)
~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

Asset version: 1.1
Download links for «B-Soft Body Deformation»:
  • Rating:  



  • Add comment