Jump to content

Control camera keysUp/Down/Left/Right impulse/acceleration.


markt5000
 Share

Recommended Posts

Hiya @markt5000, welcome to the forum.

camera.speed might work (for freeCamera-based things). 

http://doc.babylonjs.com/classes/2.4/FreeCamera

In the blue boxes near the top of that page, notice that freeCamera extends targetCamera, and that's where the .speed property is established.

For arcCams that use mousewheel zoom, camera.wheelPrecision.  Camera.inertia might also be useful.  AngularSensibility is for pans, I believe.

http://playground.babylonjs.com/#10DHRY#0

There's a freeCamera playground that uses a .speed setting to slow all camera keys, and an .angularSensibility setting to slow the mouse-based camera panning.  Hope this helps.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...