bestog

UniversalCamera - Rotation speed (left & right)

Recommended Posts

Hello guys,

I use the UniversalCamera in my project. On my mobile device it works really well and does what I want it to do, except for the left and right rotation. When I wipe up and down, the camera moves much faster than left and right. I have already tried the camera. angularSensibility, but it has no visible effect.
for example, if I use the Gyro camera and press on the screen, I can control the camera very well and would like to have such a behaviour with the UniversalCamera.

Did I miss something or is there a value I need to adjust?
I would like to double the speed of mobile devices (the device differentiation is already taken over by my framework). Then it has a smooth user behavior.

I look forward to your answers. :-)

Share this post


Link to post
Share on other sites
On 13/03/2018 at 6:51 AM, Pryme8 said:

make a pg please then, because right away I can show you that they do.
http://playground.babylonjs.com/
vs
http://playground.babylonjs.com/#EHYWBB

Are definitely different.

I'm trying the playground http://playground.babylonjs.com/#EHYWBB and setting camera.speed doesn't change anything.  Only camera.inertia makes a difference.  I too am trying to figure out how to change camera speed.

Share this post


Link to post
Share on other sites
11 hours ago, ozRocker said:

I'm trying the playground http://playground.babylonjs.com/#EHYWBB and setting camera.speed doesn't change anything.  Only camera.inertia makes a difference.  I too am trying to figure out how to change camera speed.

http://playground.babylonjs.com/#EHYWBB#1

camera.speed does not change anything? that's not what I am seeing, can you explain maybe I am thinking the wrong moment type.

Share this post


Link to post
Share on other sites
7 minutes ago, Pryme8 said:

that's inertia not speed, when panning.

http://playground.babylonjs.com/#EHYWBB#2

I don't understand.  In my youtube video I'm not changing the inertia value, I'm just changing speed. As you can see in the video, just changing speed has no effect

camera.speed went from 0.5 to 10.5 with no visual difference 

Share this post


Link to post
Share on other sites
22 minutes ago, Pryme8 said:

actually move the camera don't pan it. (use the keys)

oh right! So that's what camera.speed is for.  I understand.

I guess I should be using some other property for rotating the camera

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.