View previous topic :: View next topic |
Author |
Message |
Henry00 Member
Joined: 27 Apr 2013 Posts: 22 Location: Germany
|
Posted: Sun Apr 28, 2013 10:30 am Post subject: Smooth Camera Movements Using Keyboard |
|
|
Hi, it would be great to have smooth camera keyboard (W,S,A,D or L,R,U,D) inputs instead of the Windows key repeat. Currently when you move through the scene you have to wait up to 0.5 seconds before the camera finally moves again on every single input. It's also not precise enough to be useful to step through the scene like this and for precision we already have Shift + Right Mouse Button (zoom). _________________ Henry00³ ( de Jongh )
00laboratories, Solutions for Developers |
|
Back to top |
|
|
Starnick DeleD PRO user
Joined: 28 Jul 2007 Posts: 611
|
Posted: Sun Apr 28, 2013 12:37 pm Post subject: |
|
|
I vaguely recall having this issue (years ago) on a certain nvidia card. Switching the 3D camera controls to use arrow keys for input was (for some reason) smoother if I recall correctly. Have you tried that? |
|
Back to top |
|
|
Jeroen Site Admin
Joined: 07 Aug 2004 Posts: 5332 Location: The Netherlands
|
Posted: Sun Apr 28, 2013 2:28 pm Post subject: |
|
|
Hi Henry00, welcome to these forums!
Have you tried the Level Preview Plugin found in the Extensions section on the website? That might help. _________________ Check out Figuro, our online 3D app! More powerful 3D tools for free. |
|
Back to top |
|
|
AWM Mars Member
Joined: 06 Jan 2010 Posts: 1195 Location: Wilts England
|
|
Back to top |
|
|
Henry00 Member
Joined: 27 Apr 2013 Posts: 22 Location: Germany
|
Posted: Sun May 12, 2013 5:17 pm Post subject: |
|
|
Right I must apologize for the late reply, I tried switching from WSAD to the Arrow keys but there were no changes, sure the camera zooming is a good idea it pretty much takes care of it but obviously it's not like playing a First Person Shooter (WSAD + Right Mouse Button) which I love.
To fix this problem from the developer's perspective you would only have to make 4 boolean values and do something like this:
Code: |
bool key_w;
when "w" is pressed:
key_w = true;
when "w" is released:
key_w = false;
on program update:
if key_w then:
move camera forward.
|
_________________ Henry00³ ( de Jongh )
00laboratories, Solutions for Developers |
|
Back to top |
|
|
AWM Mars Member
Joined: 06 Jan 2010 Posts: 1195 Location: Wilts England
|
Posted: Mon May 13, 2013 7:49 am Post subject: |
|
|
You can alter the key repeat timings and perhaps make a hot key to swap settings. The 'delay' is simply to prevent false multiple key presses. Use the sliders in the Keyboard settings in the Windows Control Panel.
I use the RMB and set to use WASD in settings, I can fluidly move about any scene.
Did you try the Level Preview Plugin Jeroen suggested? I've used it to get a feel of perspective and scale in many of my scenes. Works quite well. _________________ Politeness is priceless when received, cost nothing to own or give, yet some cannot afford.
Checkout:
http://www.awm.mars.yourinside.com/
http://www.bccservices.co.uk
http://www.localtradecheck.co.uk |
|
Back to top |
|
|
|