Methods



Fields


physics_table.direction: number

The angle at which the object will move, in radians.


physics_table.friction: number

The amount the object's speed will slow down, per frame at 30FPS.


physics_table.gravity: number

The amount the object's speed will accelerate towards its gravity direction, per frame at 30FPS.


physics_table.gravity_direction: number

The angle at which the object's gravity will accelerate towards, in radians.


physics_table.match_rotation: boolean

Whether the object's rotation should also define its direction. (Defaults to false)


physics_table.move_path: table

A table containing data defined by Object:slidePath().


physics_table.move_target: table

A table containing data defined by Object:slideTo() or Object:slideToSpeed().


physics_table.speed: number

The speed the object will move in the angle of its direction, in pixels per frame at 30FPS.


physics_table.speed_x: number

The horizontal speed of the object, in pixels per frame at 30FPS.


physics_table.speed_y: number

The vertical speed of the object, in pixels per frame at 30FPS.


physics_table.spin: number

The amount this object's direction will change, in radians per frame at 30FPS.



Undocumented