How would one make a camera track a cube but only on one axis, make the camera pan while tracking the player?
I think he means like vertex parent, but only 1 axis
import bge
cont = bge.logic.getCurrentController()
camera = cont.owner
if 'actor' not in camera:
camera['actor']=bge.logic.getCurrentScene().objects['ActorName']
else:
camera.worldPosition.x = actor.worldPosition.x
I would also like to know these things, anybody know.