Jump to content
Leadwerks Community

Recommended Posts

Posted

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

Working on LeaFAQ :)

Posted

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.

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Posted

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...

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Posted

What about the viperscout scripts?

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"

Posted

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)

Working on LeaFAQ :)

Posted

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.

Working on LeaFAQ :)

Posted

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?

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Posted

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.

Working on LeaFAQ :)

Posted

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.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Posted

//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?

Working on LeaFAQ :)

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.

×
×
  • Create New...