Phaser API Documentation

  Version: 
vector: MatterJS.VectorFactory

Description:

A reference to the Matter.Vector module.

The Matter.Vector module contains methods for creating and manipulating vectors. Vectors are the basis of all the geometry related operations in the engine. A Matter.Vector object is of the form { x: 0, y: 0 }.

Type:
MatterJS.VectorFactory
Since: 3.22.0