- Home /
Creating enemy animation in unity 3d
Hi,
I'm making an iOS racing game for the iPhone, I would like to have 16 enemy cars going round the track. My target phone (the iPhone 3GS) just isn't powerful enough to handle that many ai cars.
What I want to do is put some of the cars 'on rails' so they are just animations of cars driving around the track.
The way I want to do this is by using something like the ai driver toolkit to record their telemetry to an animation.
I crate the ai cars using the ai driver toolkit in the editor
I add a script to each of the ai cars to record their position while they are going round the track
I export the recorded information to an animation
I remove the ai driver toolkit from the cars
Add the exported animation to the cars
Watch the cars go round the track on the iPhone.
Is there any way of doing this?
I know the dis advantages of using 'on rails' cars but it seems the ideal solution for me as this is going to be a VERY 'arcadey' game.
Thanks in advance!
Well, just do exactly what you say in 1 - 6.
i wouldn't worry about an "animation." just record the positions in an array (it might be a few hundred, maybe a couple thousand, items long)
Your answer
Follow this Question
Related Questions
How to make an AI of a car to jump if there is any obstacle 2 Answers
Custom Boss Character AI 0 Answers
Traffic Script 1 Answer
Fix animation to AI through script 1 Answer
How to Make AI Car 3 Answers