Army game problems
Posted: Tue Sep 20, 2005 10:16 pm
Hi. Tanks for reading tihs .
Im trying to make a sideview game in wich the player controls an army ampibious veachle.
- My first problem is that the veachle needs to go up and down hill, so i made animations from -15 to 15 degrees. But the metod i tried isnt working very well, i made an invisible actor with gravity and colision with ground and then i calculated the angle between the veachle and that actor but that doasent work very well because it allways gliches and shakes up and down eaven on flat terain. Is there a better way to do this or a tutorial?
-My second problem is that i made three tires so they can cross over bumps and stuff and they look realy cool going downhill .
I didnt parent them to the veachle i just did (tire.x=veachle.x-20 for the last one...) that works kinda good but there is always a 1-2mm lag. The other problem with this is that sometimes the tires shake violently when standing still.
-Sorry for doing this but there is a third problem. I took the average height ((tire1.y+tire2.y+tire3.y)/3) of the tires and made that the height of the veachle but the same problem hapens as with the tires sometimes it starts shaking violently. This may be related to the first two problems but i wouldnt know .
Thanks in advance for any adivice, and sorry if this subject has posted somwhere because i wasnt able to find it .
Im trying to make a sideview game in wich the player controls an army ampibious veachle.
- My first problem is that the veachle needs to go up and down hill, so i made animations from -15 to 15 degrees. But the metod i tried isnt working very well, i made an invisible actor with gravity and colision with ground and then i calculated the angle between the veachle and that actor but that doasent work very well because it allways gliches and shakes up and down eaven on flat terain. Is there a better way to do this or a tutorial?
-My second problem is that i made three tires so they can cross over bumps and stuff and they look realy cool going downhill .
I didnt parent them to the veachle i just did (tire.x=veachle.x-20 for the last one...) that works kinda good but there is always a 1-2mm lag. The other problem with this is that sometimes the tires shake violently when standing still.
-Sorry for doing this but there is a third problem. I took the average height ((tire1.y+tire2.y+tire3.y)/3) of the tires and made that the height of the veachle but the same problem hapens as with the tires sometimes it starts shaking violently. This may be related to the first two problems but i wouldnt know .
Thanks in advance for any adivice, and sorry if this subject has posted somwhere because i wasnt able to find it .