This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:tutorials:cameras:fixing_camera_to_object [2018/02/13 20:46 (7 years ago)] – ↷ Page moved from tutorials:cameras:fixing_camera_to_object to en:tutorials:cameras:fixing_camera_to_object iarwain | en:tutorials:cameras:fixing_camera_to_object [2022/12/06 13:39 (2 years ago)] (current) – iarwain | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Fixing the Camera to an Object ====== | + | ====== Fixing the Camera to an Object |
If you wish the camera to be fixed on a moving object, you will need to use code to update it regularly. The camera' | If you wish the camera to be fixed on a moving object, you will need to use code to update it regularly. The camera' | ||
Line 24: | Line 24: | ||
... | ... | ||
- | orxClock_Register(orxClock_FindFirst(orx2F(-1.0f), | + | orxClock_Register(orxClock_Get(orxCLOCK_KZ_CORE), Update, orxNULL, orxMODULE_ID_MAIN, |
... | ... | ||
</ | </ | ||
+ | Please note the use of '' | ||
+ | |||
+ | A more simple method is to [[en: |