How the game objects like road side trees and rocks moving backwards while main object(bike) moving to forward.
Asked
Active
Viewed 312 times
-1
-
Possible duplicate of - http://stackoverflow.com/questions/5605814/how-to-go-about-creating-a-race-track-game – Aditi Feb 20 '13 at 10:20
-
thanks for the replay.But it was And-engine 2d,but m looking for 3d racing game tutorials – user2089796 Feb 20 '13 at 10:24
1 Answers
0
Maybe I've misunderstood you, but for me you're asking about the basics of 3D graphics. Think about the world as a collection of objects and a camera. You can move each object individually. You can also move the camera, and when you do this, it will result in entire scene moving on the screen.
Now, you should attach the camera to the bike and move them together. It will result in the bike moving across the scene, which is going to look like all the stuff is moving backwards.

Zielony
- 16,239
- 6
- 34
- 39