What is the Best Way To Animate a Car on a race track ? Bezi

3D max, Cinema 4D, Blender or your favorite 3D app

What is the Best Way To Animate a Car on a race track ? Bezi

Postby molgat on 12/9/2017, 1:41 pm

Hi Everyone,

I have been tring to animate the position of the car - which is a group null - created with Element 3d.

But, creating the 3D path with bezier key frames is very time consuming.

is there a better way to move the car along the race track - ?

Desperately seracing for an answer for a loong time ☺

Thanks in advance,

Tolga


p.s. here below I attach the pic of the 3d model of the race track

https://www.dropbox.com/s/zxinaxgqr1lej ... 0.png?dl=0
molgat
 
Posts: 5
Joined: 10/12/2017, 1:34 am
System Specs: i7 6400 k - gtx 1080

Re: What is the Best Way To Animate a Car on a race track ? Bezi

Postby punamjaisawal on 02/20/2018, 10:53 pm

In most endless racing/running games, the world moves not the player and camera. If you want turns, it would be a lot more complicated because the world has to rotate. In pseudocode, I would do this:

var road : GameObject; var speed : float;

function Update(){

road.instantiate(in front of player);
road.transform.position(0,0,speed * time.deltatime);

if(the road object get behind the player){
road.removeFromScene;
}

}
punamjaisawal
 
Posts: 1
Joined: 02/20/2018, 5:07 am
System Specs: cc2014 AE45


Return to 3D Animation