adi64 / terminus

Game Programming Seminar 2014/15
3 stars 0 forks source link

Lock camera to wagon #46

Closed adi64 closed 9 years ago

adi64 commented 9 years ago

Camera should be able to be locked to a certain object (mostly AbstractWagonObjects) and follow its movements. When locked to a wagon, camera center should be fixed a little above the center of wagon's top plane and movement should be limited so that the camera eye moves along the x axis of the wagon.

adi64 commented 9 years ago

Motion limitation is only a hack atm (only works if train is aligned to x axis) and needs more work. It would be very beneficial to know object boundaries (ref #47 Calculate bounding box of Geometry) to make motion limitation and camera placement dependent on object size.

Fidge123 commented 9 years ago

Remaining problems moved to new issue