Phaser API Documentation

  Version: 
addVectors(a, b)

Description:

Adds the two given Vector3s and sets the results into this Vector3.

Parameters:

name type description
a Phaser.Math.Vector3

The first Vector to add.

b Phaser.Math.Vector3

The second Vector to add.

Returns:
Description:

This Vector3.

Since: 3.50.0
Source: src/math/Vector3.js (Line 147)