Sign in to follow this  
ian

Why physics mass and restitution now work in cannon.js ?

Recommended Posts

I use 

babylon.2.4.0-alpha

with

cannon version 0.6.2 (for physics and SphereImpostor
 

I need cannon because it implements mesh impostor.

I have ball and set it this values

playBall.setPhysicsState( { impostor: BABYLON.PhysicsEngine.SphereImpostor, mass: 1, restitution: 0 } );

Can anybody tell me if there are problems with mass and restitution, because if I change value there is no diffrenece !

 

If I use oimo physics then there is difference if I change mass and restitution, but I need mesh impostor for maze. So I can use oimo.

Can anybody thell me if there is bug in cannon for mass and restituion ?

Or in cannon.js is not implemented mass and resitution?
 

Share this post


Link to post
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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.