AssetPhysicsMaterial
Physics Material
Physics Material Asset sets a Entity physics properties - including it's mass, it's Physics Sound Type, and on damage/collision effects
ID: AssetPhysicsMaterial
Base Type: Mod Asset
Values
Name | Type | Description |
---|---|---|
Density | Number Variable | Mass of entities will be their volume X density - kg/m3 |
Physics Sound Type | Physics Sound Type Variable | |
Break On Damage | Number Variable | hp |
Break On Impact Speed | Number Variable | m/s |
Break Effect | Effect Variable | Effect done on Entity breaking, or a big broken piece breaking |
Damage Effect | Effect Variable | Effect when damage is done - from HitDamage entity / projectile / hitscan |
Static Friction | Number Variable | The friction used when an object is laying still on a surface - x |
Dynamic Friction | Number Variable | The friction used when already moving. - x |
Friction Combine | Enum Variable | How the friction of two colliding objects is combined |
Bounciness | Number Variable | 0 will not bounce - 1 will bounce with zero loss of energy - x |
Bounciness Combine | Enum Variable | How the bounciness of two colliding objects is combined |
Attributes:
UnityEngine.CreateAssetMenuAttribute
ModboxMain.MBTypeAssetCreateOptionAttribute
Updated over 2 years ago