Dante-666 / bouncy-ball

hello world game for g3d development and learning
1 stars 0 forks source link

Add a camera follower #10

Closed Dante-666 closed 4 years ago

Dante-666 commented 4 years ago

A basic non-inertial follower would do. Need some more research into designing this.

TODO: Add a class diagram to show this.

Dante-666 commented 4 years ago

This looks promising now. Updating a position which is at some height above the ball and make the camera look at the ball works out well. There are some problems which I faced because of the coordinate system and need a workaround to compute the current bearing and heading information. Basic physics needs to be understood.

Dante-666 commented 4 years ago

Camera follower seems to work fine but is jittery. Get back to an advanced version of this later.