GermanLeadBrothers Posted July 5, 2012 Share Posted July 5, 2012 Hi, how is it possible to active the physics, gravity in Leadwerks Editor? The standard Oildrum, is static like the new modells, too and at the beginning it falls down and so one... Here is a picture, to understand what i mean Quote Link to comment Share on other sites More sharing options...
Canardia Posted July 5, 2012 Share Posted July 5, 2012 Make physics hull with phygen. Default physics hulls are immobile. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
GermanLeadBrothers Posted July 5, 2012 Author Share Posted July 5, 2012 Okay, but i cant, this are .gmf files, and i dont have any .obj files.. Quote Link to comment Share on other sites More sharing options...
Pixel Perfect Posted July 5, 2012 Share Posted July 5, 2012 There is a gmf to obj converter around somewhere, MasterXilo kindly donated one a while back. Check the asset store. Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ Link to comment Share on other sites More sharing options...
Marleys Ghost Posted July 5, 2012 Share Posted July 5, 2012 Looks like my crates? if so they had dynamic .phy files ... if all else fails its a 1x1x1 box ... <coff> Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
GermanLeadBrothers Posted July 6, 2012 Author Share Posted July 6, 2012 I have several objects, what dont have any physics... I cant find any tool to convert gmf to obj... Quote Link to comment Share on other sites More sharing options...
Pixel Perfect Posted July 6, 2012 Share Posted July 6, 2012 I have a copy somewhere, I'll see if I can find it and post it. As MG suggests for the crates you can simply create a box physics body but I appreciate that's not a solution for more elaborate shapes. For dev work you are always best ensuring you have copies of the original model files prior to gmf conversion so they can be converted to other formats if need be, such as .obj. If models are of any real complexity shape wise you might want to consider producing a more simplified collision meshes for them to use for physics. Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ Link to comment Share on other sites More sharing options...
Marleys Ghost Posted July 6, 2012 Share Posted July 6, 2012 I have a copy somewhere, I'll see if I can find it and post it. As MG suggests for the crates you can simply create a box physics body For the crate I uploaded to the asset store it already has a dynamic .phy file ... I even checked yesterday and DL'd it unpacked it and dropped the folder into models in the SDK .. no problems with gravity. Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
smashthewindow Posted July 6, 2012 Share Posted July 6, 2012 I have a copy somewhere, I'll see if I can find it and post it. Do you seem to have the source too? I know that the original file was posted with the source. If so, can I take a look at it? I've created a set of tools which makes level creation a lot more easier, the only problem I have is converting 3DWS static geometry to .obj format. Quote Blog & Portfolio Current project: moon.chase.star Link to comment Share on other sites More sharing options...
GermanLeadBrothers Posted July 6, 2012 Author Share Posted July 6, 2012 My problem is, that the original Oildrum model, has no physics... So, i damaged the leadwerks editor? Quote Link to comment Share on other sites More sharing options...
Pixel Perfect Posted July 6, 2012 Share Posted July 6, 2012 @smashthewindow The original was posted with the source code but had issues with orientation from what I remember. The second fixed this but did not come with source. However, MasterXilo kindly gave me the code to use in my EKI One project, minus some of his libs it referenced. I updated the code to work without these and you can find that embedded in my project: Leadwerks To Eki One Exporter It doesn't write the material detail as I didn't need this for my application but if its just for Physics then this will work fine. Feel free to extract the code. Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ Link to comment Share on other sites More sharing options...
Pixel Perfect Posted July 7, 2012 Share Posted July 7, 2012 I have re-posted MasterXilo's gmf2obj converter in the Asset Store Tools section to ensure it remains only accessible to Leadwerks developers: gmf2obj converter Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ 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.