Jump to content

Search the Community

Showing results for tags 'collision handler'.

  • 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. Hey guys, I was wondering if any box2D (javascript) users here could help me with this issue I am having. I have some boxes that will float to the top of a block of water. This function works fine //if inside the water this.waterObj.GetBody().SetLinearVelocity(new b2Vec2(0,-2)); I want my water take the boxes like a wave, however when the water block collides with the boxes, the collision handler is NOT called… However if I drop my boxes into the water it works fine (even if the water block is moving) I think this is to do with the collision handler not being called on my blocks if they are stand still, I have set the bodyDef.allowSleep = false; at creation and even reiterated throughout the boxes to check that sleeping is off; but this hasn’t changed anything, I even set the whole world sleep to false. Can anyone help me get the water collision handler to trigger if it hits my stand still (not sleeping) blocks? Cheers!
×
×
  • Create New...