Fracture
Node Data | |
|---|---|
Display name | |
Fracture | |
Internal name | |
Node_Rigid_Fracture | |
Inheritances | |
| Node_Rigid_Fracture | |
Inputs | |
surface |
Base Texture |
Fracture | |
surface |
Fracture Map |
slider |
Fracture Threshold |
slider |
Mesh Expansion |
Physics | |
bool |
Activate On Spawn |
float |
Density |
slider |
Friction |
slider |
Air Resistance |
slider |
Rotation Resistance |
slider |
Bounciness |
float |
Gravity Scale |
Transform | |
vec2 |
Position |
Joint | |
bool |
Use Joint |
float |
Stiffness |
slider |
Damping |
float |
Breaking Force |
Outputs | |
rigid |
Object |
Create multiple pieces of rigidbody objects from a mask.
Properties
| Fracture | |
| Fracture Map | Surface defining fracture pieces. |
| Fracture Threshold | How different the pixel color in the Fracture Map can be to be consider the same fragment. |
| Mesh Expansion | Expands each fragment outward. |
| Physics | |
| Activate On Spawn | Activate physics (collision, gravity, etc.) on spawn. |
| Density | Object density, mass per fracture volume. |
| Air Resistance | Slow object when falling. |
| Rotation Resistance | Add force for rotating object. |
| Gravity Scale | Set custom gravity effect. |
| Joint | |
| Use Joint | Add joint connecting between each fragment using minimum spaning tree. |
| Stiffness | How much force required to stretch the joit. |
| Breaking Force | Amount of force to break the joint, zero for unbreakable. |
Commit History
| 1.19.1 |
|
|---|
Related Links
- Base Code: /scripts/node_rigid_fracture/node_rigid_fracture.gml
- Shader [sh_seperate_shape_index]: /shaders/sh_seperate_shape_index/sh_seperate_shape_index.fsh
- Shader [sh_seperate_shape_ite]: /shaders/sh_seperate_shape_ite/sh_seperate_shape_ite.fsh
- Shader [sh_mesh_generation]: /shaders/sh_mesh_generation/sh_mesh_generation.fsh
- Shader [sh_seperate_shape_sep]: /shaders/sh_seperate_shape_sep/sh_seperate_shape_sep.fsh