Jump to content

Search the Community

Showing results for tags 'BodyElements'.

  • 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. Hello, I can create a element ('body') and add different elements, for example: this.myBody = new Phaser.Physics.Box2D.Body(this.game, null, this.rolyCenter.x, this.rolyCenter.y); and this element add many elements: this.myBody.addRectangle(2, 10, 200 * Math.cos(angle), 200 * Math.sin(angle), angle); this.myBody.addRectangle(2, 10, 200 * Math.cos(angle), 200 * Math.sin(angle), angle); this.myBody.addRectangle(2, 10, 200 * Math.cos(angle), 200 * Math.sin(angle), angle); I need know: 1 - can I add a 'Id' to the elements added to this.myBody? 2 - if 'x' element did collision with some object of my Body, How get the object that did collision with this.myBody?
×
×
  • Create New...