-1

How the game objects like road side trees and rocks moving backwards while main object(bike) moving to forward.

1 Answers1

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