maybe something like this:
camera=createcamera()
char=loadmesh("hero.3ds")
head=createpivot(char)
translateentity head,0,meshheight(char)/2.0,0
and then in the main loop:
pointentity camera,head
Or maybe you need to use
pointentity camera,head,0
to prevent the camera from rolling over.
camera=createcamera()
char=loadmesh("hero.3ds")
head=createpivot(char)
translateentity head,0,meshheight(char)/2.0,0
and then in the main loop:
pointentity camera,head
Or maybe you need to use
pointentity camera,head,0
to prevent the camera from rolling over.