I will spam the forum now with a few threads, because I think it would be too much if I summarize everything in one.
Here, I want to target the camera to the head of my character or at least something higher than the feet. If you zoom in, you realize, the bottom of the character is the target of the camera.
With the scaling-function (line 146) I could scale the head with skeleton.bones, but I can’t target the head with camera.target = skeleton.bones and I don’t know how to get the camera to focus the head or shoulders.
Of course I want the FreeCamera also on an higher place. If you change the view and look above, you can see the upper part of the character.
I already tried to change that with camera2.ellipsoid = new BABYLON.Vector3(1, 2, 1); after line 125, but this also doesn’t seem to work.
The view can be changed by pressing v.
I have the feeling the solution isn’t that hard, but I can’t find it.
I hope you guys can give me some ideas.
Thank you in advance.