Jump to content

Collision problem with different size of mesh


vahith
 Share

Recommended Posts

Hi all;
i am trying to collied the mesh with each other.. i am partially achived that but i am facing some propblem like when i collied the small mesh with big mesh its working fine but when i trying reverse like big mesh with small mesh collision is not working properly. kindly suggest me how to achive this....

here is the reference playground which i am checking
http://www.babylonjs-playground.com/#OE1I9

Thanks

vahi:-)

Link to comment
Share on other sites

I added the following on line 50:

box2.ellipsoidOffset = new BABYLON.Vector3(0, -20.0, 0);

http://www.babylonjs-playground.com/#OE1I9#2

 

But that might not be the best solution either.

hi iiceman...thanks for your response.. but it is working for lower part of mesh not for entire meshes kindly check this  reference

http://www.babylonjs-playground.com/#OE1I9#3

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...