bestog Posted March 12, 2018 Share Posted March 12, 2018 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. :-) Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted March 12, 2018 Share Posted March 12, 2018 camera.speed = 0.5; camera.inertia = 0.5; Quote Link to comment Share on other sites More sharing options...
bestog Posted March 12, 2018 Author Share Posted March 12, 2018 57 minutes ago, Pryme8 said: camera.speed = 0.5; camera.inertia = 0.5; Thank you, but the values have no visible impact. :-/ Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted March 12, 2018 Share Posted March 12, 2018 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. GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
ozRocker Posted March 26, 2018 Share Posted March 26, 2018 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. Quote Link to comment Share on other sites More sharing options...
V!nc3r Posted March 26, 2018 Share Posted March 26, 2018 Is it not touchMoveSensibility that we should use? http://doc.babylonjs.com/classes/classes/babylon.universalcamera#touchmovesensibility .Notice the touchAngularSensibility too, and that is an universalCamera option, not a freeCamera one. Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted March 26, 2018 Share Posted March 26, 2018 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. Quote Link to comment Share on other sites More sharing options...
ozRocker Posted March 27, 2018 Share Posted March 27, 2018 10 hours ago, Pryme8 said: 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. They both move at the same speed for me Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted March 27, 2018 Share Posted March 27, 2018 that's inertia not speed, when panning. http://playground.babylonjs.com/#EHYWBB#2 Quote Link to comment Share on other sites More sharing options...
ozRocker Posted March 27, 2018 Share Posted March 27, 2018 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 Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted March 27, 2018 Share Posted March 27, 2018 actually move the camera don't pan it. (use the keys) Quote Link to comment Share on other sites More sharing options...
ozRocker Posted March 27, 2018 Share Posted March 27, 2018 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 Quote Link to comment Share on other sites More sharing options...
bestog Posted March 27, 2018 Author Share Posted March 27, 2018 My problem was solved with touchAngularSensibility from UniversalCamera. Topic can be marked as solved. @Pryme8 thank you for your helpfulness. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.