Physics API

api.physics

Method
Parameters
Returns
Description

width: float length: float depth: float

An axis-aligned bounding box.

radius: float

A spherical collision boundary.

shape: Shape mass: float

Create a physics body with a shape and mass capable of collisions.

Last updated