Jump to content

oimo.js constant impulse


dbawel
 Share

Recommended Posts

@adam -

Yes, I corrected the applyImpule vector. But if you're patient and wait a couple of minutes, you'll see most of the spheres eventually settle on the borders and corners - whereas this doesn't occur using cannon. Changing the WORLD.SCALE is a dramatic improvement. However, my current project is to replicate human biological cells moving in a space which requires that all cells maintain a constant impulse, and cannot gather on the border collision objects. With a restitution of 1 or higher on all objects (and no friction), this should be the case in Oimo, as it works fine in cannon and the objects never settle - especially on the borders.

http://www.babylonjs-playground.com/#1MJ09V#12

Thanks for making progress on this, and I'm sure it can be solved in Oimo.

Cheers,

DB

Link to comment
Share on other sites

@adam - I believe you have done it! I have been declaring friction in so many tests, but haven't sice you declared adjustments to the physics engine, I will be implimenting Oimo back into my scene, and benchmark 800 meshes (300,000 polys) to see if I cn improve the fps - even thogh I have it working at 50 -60fps now. But I like the behavior using Oimo much better. Thank you very much for putting your time and effort into this, as I might expect it to be of value to many users.

Cheers,

DB

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...