Jump to content

Load mesh blender but collisions dont work


Achmed
 Share

Recommended Posts

Hello, 

 

Since some month, I have discover Babylon.js framework, and it's a very good work for developper.  :)

 

In my project to learn this framework, I have load a ground with wall and a cube to simulate a person.

I have activate all collisions for all meshes, physics (mass, shape: box) and export with the extension blender.

I have test in sandox offline and my blender file work.

 

After, I have create a script in JS and all meshes are load successfuly, but collisions doesn't work!

 

I have find a tutoriel who need to create a bounding box to use .intersectsMesh(), but nothing work too. 

I think I have forget something, but I don't see.

 

Can you help me, plz?

 

Thank you very much.

 

Here the begin of my project to undestand my problem and see scripts: 

https://www.dropbox.com/s/mrhvdujzwqg63mb/testBabylon.rar?dl=0

 

 

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