Jump to content

Search the Community

Showing results for tags 'accelerateToObject'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. Hi, I'm working with the `accelerateToObject` method, and I've run into a problem with it. I'm trying to accelerate a group to a single object, but I have not been able to find a working example of this. Essentially, what I want to do is this: monsters = game.add.group();monsters.enableBody = true;monsters.physicsBodyType = Phaser.Physics.ARCADE;...game.physics.arcade.accelerateToObject(monsters, player, ARBITRARY_ACCELERATION_AMOUNT);I tried to do this in my game, but it is not working and Phaser doesn't seem to like it. Can anyone help me to get a group to accelerate to another object, if this is even possible?
×
×
  • Create New...