A plugin to allow you to move an item to a given position via physics, and have it stop precisely.

Article by Richard Davey. Posted on 30th Jan 2018.   @photonstorm

image

This is a new Phaser plugin by Damien Leroux that will move an object and stop it at an exact position. Compatible with phaser >= 2.0.0 <3.0.0

"As I didn't find a way in the phaser core functions to move an item to stop at a given position, I made this plugin. It just wrap the phaser core function moveToXY to have the displayed object stop when the x/y position is reached."

Read More