pocketmine\entity\Entity::getMotion PHP Method

getMotion() public method

public getMotion ( )
    public function getMotion()
    {
        return new Vector3($this->motionX, $this->motionY, $this->motionZ);
    }