dim3 Forum

Full Version: Adjusting Camera Height
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is this possible? Because I can't seem to find ANY type of camera height perimeters.
You mean in first person?
Use obj.size.eyeOffset to do it.
Otherwise, use one of these: http://erikkemmer.er.funpic.de/dim3/docs...bject.html
Yes, in FPP.
But where is the default code located? I can't figure out which file.
It should be in the player.js in the construct.
obj.size.eyeOffset defines the camera height in first person.
That should be all you need.
Note that if your using the demo script you'll have to change it in the respawn function to or it will go back to the previous possition every time you respawn. Wink
Ok. I'll look for it. Thanks.
Reference URL's