camera doesnt work

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

Try:
camera.reparenTo(panda)
camera.setY(-10) #maybe 10
camera.setZ(3)

if that does not do the trick try:
camera.reparenTo(panda)
camera.setY(panda,-10) #maybe 10
camera.setZ(panda,3)

nope still doesnt work:( hold on ill post my whole code.

My bad:
replace camera with base.camera

it still doesn’t work :S the camera still stays underneath the panda…

Adding this before you set the camera:
base.disableMouse()

nice it’s working now;) ill have a go from here, thx;)

maybe if you got the time: i saw something like a lookAt function. can you explain that to me? cause if it do looks at an object, that would save a lot of math for me to make it loook at my model;)

edit
nvm figured it out;)