Hover Vehicle "cs" file
by Demolishun · in Torque Game Engine · 03/07/2004 (9:27 pm) · 7 replies
Hello,
I am sorry if this request has been made a million times. Is there a current version of the "cs" file for configuring hover vehicles? I thought I found the most recent, but it wants to trip up on the terrain and take a dirt nap. The thing hits a certain point and spins around and next thing you know you are under the terrain. I don't have a great understanding of the hover physics, and if someone does let me know. Maybe I just haven't found the right resource yet.
Thanks,
Frank
I am sorry if this request has been made a million times. Is there a current version of the "cs" file for configuring hover vehicles? I thought I found the most recent, but it wants to trip up on the terrain and take a dirt nap. The thing hits a certain point and spins around and next thing you know you are under the terrain. I don't have a great understanding of the hover physics, and if someone does let me know. Maybe I just haven't found the right resource yet.
Thanks,
Frank
About the author
I love programming, I love programming things that go click, whirr, boom. For organized T3D Links visit: http://demolishun.com/?page_id=67
#2
03/14/2004 (9:18 pm)
Small assumption in Torque: processTick() is called every 1/32 of a second in simulation time, guaranteed. So the hover code may be a victim of this...
#3
Also do a search on "vehicle physics" and you will see my recent post. "Vehicle Physics - BEGGING for help". At the end I have a working datablock posted.
03/15/2004 (5:08 am)
I spent like 3 days beating my head against the desk with a hover vehicle only to find my main problem was integration. Try setting an inegration value of 6 or so in your datablock.Also do a search on "vehicle physics" and you will see my recent post. "Vehicle Physics - BEGGING for help". At the end I have a working datablock posted.
#4
Thanks,
Frank
03/15/2004 (9:16 pm)
I checked it out. Still having trouble with it. I just cannot believe the shape of the vehicle will cause it to fall so fast off a cliff to punch through the terrain. I can see an angle causing a huge point load causing the forces to be huge. Hmmm, does someone have an example of the proper shape of the vehicle?Thanks,
Frank
#5
Your vehicles weight will cause alot of problems if it is to high or to low..
It took alot of fine tuneing to get my ships to float just right without sinking and surfaceing ageain and ageain before it finaly smoothed out.
03/15/2004 (9:33 pm)
If your vehicle is falling really fast make sure you do not has it set as a massive weight and that the forces pushing and pulling on it are not extremly high.Your vehicles weight will cause alot of problems if it is to high or to low..
It took alot of fine tuneing to get my ships to float just right without sinking and surfaceing ageain and ageain before it finaly smoothed out.
#6
Thanks,
Frank
03/15/2004 (9:35 pm)
Ahhh, I was editing the wrong cs file! Your code works! No more dirt naps!Thanks,
Frank
#7
Thanks for your help,
Frank
BTW If you want a copy of my hover dts just send me an e-mail. It is similar to the Halo hover. I just built it today. It was very easy with Blender. I can even send a UV map image for it if you want.
03/16/2004 (8:45 pm)
I got it to work. I have been trying to increase the mass from 5 to 100. I have had to change a lot of things to keep it stable. Is 100 too high? What is the mass value in SI or English units? It works way better than it did. It seems to fly over stuff and not bounce way high or fly through the ground.Thanks for your help,
Frank
BTW If you want a copy of my hover dts just send me an e-mail. It is similar to the Halo hover. I just built it today. It was very easy with Blender. I can even send a UV map image for it if you want.
Torque Owner Demolishun
DemolishunConsulting Rocks!
Thanks,
Frank