PoussinJoyeux Posted February 21, 2015 Share Posted February 21, 2015 Hi, I'm a total beginner in Leadwerks so my question will probably be an easy one 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. 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! Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted February 21, 2015 Share Posted February 21, 2015 CSG brushes are automatically having a physics shape which is exactly like their appearance. For models you need to specify a shape (.phy) or a csg brush. 1 Quote Link to comment Share on other sites More sharing options...
Rick Posted February 21, 2015 Share Posted February 21, 2015 Some screenshots of physics setup on all 3 and the final result might help us solve this puzzle better. Quote Link to comment Share on other sites More sharing options...
Genebris Posted February 21, 2015 Share Posted February 21, 2015 You probably need to press "Fit shape" in barrel physics settings, it will give it a physics shape. 1 Quote Link to comment Share on other sites More sharing options...
PoussinJoyeux Posted February 21, 2015 Author Share Posted February 21, 2015 Thanks for all your answers! Great community here! Doing like AggrorJorn said (="specify a shape") solved my problem. Thanks! I can now continue to design my first scene. Yeah!!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.