PDA

View Full Version : Problems with spawn point.


just alex
11-21-2008, 12:25 PM
I'm kinda new with this, so it's probably a beginner's mistake on my part, but I keep having problems with the spawn point of the subject on my code. For some reason, whenever I load the code, it spawns about 10-14 feet above the ground level. I've tried just translating the head point down, but I can only get it to spawn either into the ground (at -2 and lower) or get no change. Does anyone know how I can fix this?
Thanks
-Alex

farshizzo
11-24-2008, 09:51 AM
Are you using viz.MainView.setPosition() to translate the viewpoint? Are you sure your ground model is at the correct height? It's hard to tell what is going on without any sample code.