Lens Scripting API

    Class Physics

    Namespace containing physics classes and static physics methods.

    // Change gravity in the root world.
    Physics.getRootWorldSettings().gravity = new vec3(0.0, -100.0, 0.0);
    Index

    Constructors

    Methods

    • Create an intersection probe that spans all worlds.

      Returns Probe

    • Create an intersection probe for the implicit root world.

      Returns Probe

    MMNEPVFCICPMFPCPTTAAATR