VeTaL Posted August 28, 2010 Share Posted August 28, 2010 First problem: this model loads without warnings, but i cant see textures. Second problem: i load this car with AddVehicleTire(_car,Vec3(-1,0,1.7),0.5,-0.4); AddVehicleTire(_car,Vec3(1,0,1.7),0.5,-0.4); AddVehicleTire(_car,Vec3(-1,0,-1.4),0.5,-0.4); AddVehicleTire(_car,Vec3(1,0,-1.4),0.5,-0.4); car is jumping like swiming on the sea Quote Working on LeaFAQ Link to comment Share on other sites More sharing options...
macklebee Posted August 28, 2010 Share Posted August 28, 2010 not sure exactly if this is the problem, but you have some mat files that do not have a texture associated at all in them... you also have several mat files that are using the diffuse_bumpmap frag shader but just using the diffuse vert shader with them... and you have some mat files that using mesh.vert and mesh.frag... with no diffuse texture being assigned... And this might not be a problem at all, but I have had trouble in the past with other applications using special characters in file names... you have several mat files using the number sign, #, and parenthesis, (), in the names... with this many surface materials, its hard to say what is screwing them up... you might have better luck just exporting a small section of the model that only has a couple of materials/textures associated with them and attempting the material files that way... I would strongly suggest you try using Icare's ADN material editor so you can see the proper way to create material files for your model. Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
VeTaL Posted August 28, 2010 Author Share Posted August 28, 2010 Okay, maybe we would take another car... but what about "swiming"? Can you recomend something? Quote Working on LeaFAQ Link to comment Share on other sites More sharing options...
macklebee Posted August 28, 2010 Share Posted August 28, 2010 look at the parameters for the AddVehicleTire()... you are possibly just using the defaults for the spring constant and damping... or perhaps a zero is being written to them... i would try to set it up like the the example vehicle in the editor, the viperscout, where the spring constant and damping is set at 20 and 150, respectively... then make changes from there to get something you like... also... it looks like the suspension length is being set to a -0.4? I would have thought this needed to be a positive number... i dunno... B) and one thing i see different is that the viperscout is using TFormPoint for the position of the tires... Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
VeTaL Posted August 29, 2010 Author Share Posted August 29, 2010 Can anybody offer the simplest car physic demo? Quote Working on LeaFAQ Link to comment Share on other sites More sharing options...
Marleys Ghost Posted August 29, 2010 Share Posted August 29, 2010 What about the viperscout scripts? 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...
VeTaL Posted August 29, 2010 Author Share Posted August 29, 2010 It is floating in the air... Looking like it have old phy-files, and i cant generate new one, because i haven't obj-file (gmf2obj dont work properly: it just generates 47 bytes of code) Quote Working on LeaFAQ Link to comment Share on other sites More sharing options...
VeTaL Posted August 29, 2010 Author Share Posted August 29, 2010 I just need to setup those tires parameters: in my case OR car jumps like boat in the storm on the ressources (between wheel and body, so wheels are on the ground) , OR jumps in the same way, but wheels are sometimes got underground. Quote Working on LeaFAQ Link to comment Share on other sites More sharing options...
VeTaL Posted August 29, 2010 Author Share Posted August 29, 2010 What a strange: when engine generates phy-files for static buildings (like tower: i just deleted phy-file of the tower, so engine generates new one) - its okay. But when i delete vehicle_monstertruck.phy so engine would generate new one - car is just floating in the air.(http://leadwerks.com/werkspace/index.php?/topic/2653-vechicle-model-problem/page__p__24495__fromsearch__1#entry24495) Quote Working on LeaFAQ Link to comment Share on other sites More sharing options...
macklebee Posted August 29, 2010 Share Posted August 29, 2010 The PHY file auto created by the engine is for static objects. You would have to use phygen or obj2phy. Now the viperscout is working just fine. If its not for you, then I suspect you have done something strange. What version are you using? When you download a new version, do you overwrite or do you do a fresh install? You didn't delete the PHy file for the viperscout did you? Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
VeTaL Posted August 29, 2010 Author Share Posted August 29, 2010 Emm.. maybe i'm mising something, but looking like viperscout is in Private folder, so i cant use it? I'm using 2.4, for now i'm making clean install to be sure i make everything right. Quote Working on LeaFAQ Link to comment Share on other sites More sharing options...
VeTaL Posted August 29, 2010 Author Share Posted August 29, 2010 Zip data error... nothing good Quote Working on LeaFAQ Link to comment Share on other sites More sharing options...
VeTaL Posted August 29, 2010 Author Share Posted August 29, 2010 Just downloaded vehicle_monstertruck, tested it - it is still floating in the air and dont want to fall down. Quote Working on LeaFAQ Link to comment Share on other sites More sharing options...
VeTaL Posted August 29, 2010 Author Share Posted August 29, 2010 btw, as for me, vehicle_monstertruck dont load properly even in clear 2.4 version Quote Working on LeaFAQ Link to comment Share on other sites More sharing options...
macklebee Posted August 29, 2010 Share Posted August 29, 2010 I wasn't suggesting that you try to use the viperscout in your own project, but rather you look at the viperscout's lua file to see how the vehicle commands were used. Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Canardia Posted August 29, 2010 Share Posted August 29, 2010 You must set the entitytype of the car's model body to something which doesn't collide with the vehicle body. The flying is caused by a overlapping collision of two physics bodies. 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...
VeTaL Posted August 30, 2010 Author Share Posted August 30, 2010 //You must set the entitytype of the car's model body to something which doesn't collide with the vehicle body Car's model body to vechicle body? .. em.. maybe... wheels? Quote Working on LeaFAQ 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.