Scripting API
Scripting API
PhysicsMaterial3D
Struct in Abyss.Physics3D, from Abyss.Physics3D.
What a 3D collider is made of: how it slides along what it touches and how it bounces off it. A data asset, made from Create ▸ Physics 3D ▸ Physics Material 3D, named by a collider, or by Physics 3D's settings for every collider that names none. Two that touch hold as the square root of their frictions multiplied, and bounce as the bouncier.
public struct PhysicsMaterial3DFields
Friction
public float FrictionHow much it holds against sliding: zero slides as on ice.
Bounciness
public float BouncinessHow much it bounces back: zero stops dead, one bounces as high as it fell.
