the err is:
C:>python filename.py
DirectStart: Starting the game.
Warning: DirectNotify: category ‘Interval’ already exists
Known pipe types:
wglGraphicsPipe
(all display modules loaded.)
:util(warning): Adjusting global clock’s real time by 1.90735e-006 seconds.
:util(warning): Adjusting global clock’s real time by -3.14832 seconds.
I would need a little more code to tell you 100% but I think its cus you dont have the camera pointing at him or he is to big or to small for you to see.
yea its to big or to small and you need to set the camera to look at it more better.
Try something like this: #note its the panda model I used.
import direct.directbase.DirectStart
import math
from direct.actor import Actor
from pandac.PandaModules import *
pandaActor = Actor.Actor("models/panda-model",{"walk":"models/panda-walk4"})
pandaActor.setScale(0.005,0.005,0.005) #makes the panda smaller
pandaActor.reparentTo(render)
pandaActor.loop("walk")
base.disableMouse() #disable mouse movement
base.camera.setPos(0,-15,0) #set the camera pos to see the panda
run()
That depends on how big or small you want it to be, really its just gussing unless you all ready know how big the model is then you can just do the math.
I think scaling a model to world size is best.
For most people its 1 meter = 1 panda3d unit. For me i deal with spaceships its 1km = 1 panda3d unit. But i think its good when you can relate panda3d units with real life. If you have average high being 17.5 make up units how many make up units is a door or a car?