Show / Hide Table of Contents

    Class PhysicsMaterial4

    Additional configuration asset for 4D physics simulation

    public class PhysicsMaterial4 : ScriptableObject
    Namespace Engine4
    Inheritance
    System.Object
    PhysicsMaterial4
    Remarks

    This asset is to be attached with Collider4 components

    Constructors

    PhysicsMaterial4()

    public PhysicsMaterial4()

    Fields

    bounce

    Bounceness (how much energy is preserved) ratio during impact

    public float bounce

    density

    Density (uniform mass) of the object

    public float density

    friction

    Friction (how much energy is lost) ratio during contact

    public float friction

    Properties

    global

    Default physics material that is used for physics simulations

    public static PhysicsMaterial4 global { get; }
    ▲ Copyright © 2017 Wello Soft