Jump to content

Search the Community

Showing results for tags 'physics equations'.

  • 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 everyone! I'm trying to understand how to use physics engine in Babylon. I understood the basical instructions and all about this is clear. But I've a serious problem that I'll explain with an example. I've a cube that falls onto a plane having a fixed angular velocity, here is the playground: http://www.babylonjs-playground.com/#UQNWL Obviously: if I set the frictions with very large values then the box will very fastly loose its angular velocty when it'll fall onto the plane if I set both the frictions values equals to 0 then the box will never stop and will rotate onto the plane forever... But...what if I want that the cube will stop in 5.76746 seconds? In this case, which values I have to put into the "friction" variables? Maybe I've the answer: I have to know the physical equations used by cannon.js, then I've to solve my physics exercise, and then I've to put the correct values into the "friction" variables. If I'm right, where can I find the EXACT equations used by cannon.js? Is there a sort of manual? Or I've to deduce them from the code? Is there another way to solve the problem? Thank you so much! Best regards.
×
×
  • Create New...