Quantcast
Channel: Bugs Latest Topics
Viewing all articles
Browse latest Browse all 760

ArcRotateCamera position.y do not work

$
0
0

I wanted to change the value y of the position of the rotating camera, but that has no effect.

Only setPosition () works. only if I use this, it creates a problem for the animation of my character that prevents me from directing it to the right or to the left. By that I modify it in a loop to know the orientation of the camera and rotate the character, but I can not change the position Y.

http://www.babylonjs-playground.com/#UCFKM#102

What I was looking for was, for example, if my character climbs stairs, the position of the camera also goes up on the Y axis in ways to follow the character. because currently the camera remains at the bottom of the stairs.


Viewing all articles
Browse latest Browse all 760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>