Manuel Posted September 25, 2010 Share Posted September 25, 2010 First, I don't know if this goes here, but I did not know where put it. I have a problem with the collision of a gate (see the video). I have configured the collision (all in the LE Editor) of this gate with "prop", I also tried with "scene" collision, but the problem persist. I see the physics debug and all is correct, I don't understand what is happen here. Does anyone know it? http://www.youtube.com/watch?v=dObrfo9gy3k Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted September 25, 2010 Share Posted September 25, 2010 Hi Manuel, perhaps the leadwerks editor forum is better for this topic. But about your problem. I have had similar problems. Deleting the phy file for the scene and let LE create one for you is what I did. If the gate has to be interactive make sure you have convex hull phy files. when you are testing your game try turning on DebugPhysics. That way you can see the character controller shape. Perhaps you can spot some weird or unusual appearance. Quote Link to comment Share on other sites More sharing options...
wh1sp3r Posted September 25, 2010 Share Posted September 25, 2010 Yes, normal newton function Quote -= Phenom II X4 965 3.4Ghz - ATI HD5870 - 6 GB DDR3 RAM - Windows 8 Pro 64x=- Website: http://www.flamewarestudios.com Link to comment Share on other sites More sharing options...
Josh Posted September 25, 2010 Share Posted September 25, 2010 Build a simpler collision shape for physics. You should not use complex meshes like that for the physics. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Manuel Posted September 26, 2010 Author Share Posted September 26, 2010 Hi. Thanks Aggror, now works very well. Josh, but for example, for interiors I need a complex collision, how do I do then? For the complex buildings and interiors I use "Scene" collision from LE Editor, is it correct, o I need another type of collision? In this type of collision sometimes also I have this problem, what is the best way to do this? (the collisions for complex structures) Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted September 26, 2010 Share Posted September 26, 2010 scene: - collision tree from obj dynamic box or crate: - box shape - fence - convex hull from obj thats what I would do. Quote Link to comment Share on other sites More sharing options...
Manuel Posted September 26, 2010 Author Share Posted September 26, 2010 I have created the collision with .obj and convex hull. The object is a simple box and works very well. I have created this for fences, windows, doors, etc. 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.