Show / Hide Table of Contents

    Class Physics4

    The head of the physics simulation.

    public class Physics4 : MonoBehaviour4, IContactListener
    Namespace Engine4.Physics
    Inheritance
    System.Object
    MonoBehaviour4
    Physics4

    Constructors

    Physics4()

    public Physics4()

    Fields

    defaultMaterial

    Default material fallback for the scene.

    public PhysicsMaterial4 defaultMaterial

    Properties

    main

    Main physics manager

    public static Physics4 main { get; }

    Methods

    Raycast(Ray4)

    Globally cast raycast and return report

    public static RaycastHit4 Raycast(Ray4 ray)
    ▲ Copyright © 2017 Wello Soft