hey all,
im having a little problem with my camera. no matter what i enter as code the camera stays underneath my character. What i would like is a third person camera. here is my code:
import direct.directbase.DirectStart
#load the scenery
environ = loader.loadModel("models/environment")
environ.reparentTo(render)
environ.setScale(0.25,0.25,0.25)
environ.setPos(-8,42,0)
#load the scenery
panda = loader.loadModel("models/panda-model")
panda.setScale(0.005,0.005,0.005)
panda.reparentTo(render)
#set the camera
camera.reparentTo(panda)
camera.setY(panda,-10)
camera.setZ(panda,3)
run()
for now im messing around with the panda model taken from the tutorial. and the code taken from roaming ralph.(the panda model doesnt move yet)
I am very new to panda3d (as i downloaded it yesterday). I worked with GML before and its quite similar tot python.
edit whole code added