Game Development Community

Vehicle animation

by Tom · in Artist Corner · 07/16/2006 (2:23 pm) · 5 replies

I searched for a while, and found some posts, but they didnt really help me, so now im posting my questions:

1. how do i create a steering animation?? (like what frame has what, etc.)
2. how do i create a spring animation (name?, dsq, blended?, what frame is up, what frame is down.)
3. *question from my previous thread, since it fits in here so well* how can i make the vehicle turn, by deforming the frame, instead of turning the front wheels!?

#1
07/16/2006 (3:02 pm)
"how do i create a steering animation" for wheels? left,right this is not needed
"how do i create a spring animation " Each wheel spring has 3 keys with 4 Sequences don't over lap frames
start fount left wheel "North american driver's side" hub0 go clock wise
hub0 key frame 0,1,2 key up,down,up
hub1 key frame 3.4.5 key up,down,up
hub2 key frame 6,7,8 key up,down,up
hub3 key frame 9,10,11 key up,down,up
Sequence spring0
Sequence spring1
Sequence spring2
Sequence spring3
"how can i make the vehicle turn, by deforming the frame, instead of turning the front wheels!?"
Don't know someone mite ..
#2
07/16/2006 (6:08 pm)
@Tom.

1. I don't know the answer to this but would also like to know, in wheeledvehicle.h and wheeledvehicle.cpp are some comments about using animation sequences but I don't understand the steering animation. From memory its something like frame 0 is left, 0.5 is the centre... so am guessing that its frame 1 right but I've not been able to get it to work.

3. Best not to double up on threads.

@Dave.

1. For just the wheels turning left to right nothing is needed but for more advanced animations, say if you had wheel arch's that turn with the wheels but you don't want them to spin, the standard solution wont work.

2. You actually only need to have 2 frames for each hub animation (up and down positions), see this TDN article.
#3
07/17/2006 (10:47 am)
So, do u mean to say, that if no steering animation is present, it makes teh wheels turn, but when an sterring animation is present then it uses the animation and not the turning of the wheel?
#4
07/17/2006 (11:51 am)
@Adam

I just told him you don't need a turn_Sequence for a simple left/right turn don't believe its a advanced animation
? That key Sequence for hubs,shocks/spring animation i have on four cars and seemed to work perfect that's why i passed it on mostly because i had a hard time finding something that worked right for me.
The car article is for milkshape and im sure works fine for exporting cars from that app
i use maya and dont need bones or a rig like that to make animation work.
#5
07/17/2006 (12:21 pm)
I use blender, and its a futurist bike, that steers by deforming the frame of the bike. thats y im asking

so thanks:)