Jump to content

[Scene creation] Collision not detected between barrel and box - SOLVED


PoussinJoyeux
 Share

Recommended Posts

Hi,

 

I'm a total beginner in Leadwerks so my question will probably be an easy one mellow.png

 

I create a new scene.

I put a big box (BOX1) in it for the floor, a little box (BOX2) with a mass of 1.0 and a barrel (from "models") with a mass of 1.0.

BOX2 and barrel are put above BOX1.

 

When I "run" the scene, BOX2 goes down and collide with BOX1 and stays on it but the barrel goes down and continue to go down through BOX1 and dissapear. wacko.png

 

I don't understand why the collision is not detected for barrel because all parameters seems identical between BOX2 and barrel.

I tried different collision type (prop, scene, debris...) and result is the same in all cases.

 

What did I miss for barrel? Is it because it is not a simple shape as a box or sphere and so the collision must be managed differently (with a script for instance)?

 

Thanks for your help! smile.png

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.

 Share

×
×
  • Create New...