sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    Mac User? | Join the Rayscaper Beta for Mac Learn More

    [Plugin]FPS Nav

    Scheduled Pinned Locked Moved Plugins
    38 Posts 27 Posters 65.6k Views 27 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Alan Chatham
      last edited by

      I finally got some time and energy to do a little more work on this plugin, and have made a few little changes -

      -You can now use the numeric keypad to move as well, with 7 and 9 moving up and down
      -Movement speed and mouse sensitivity data is stored across sessions

      Jorgensen, what platform are you running on? I'll look into alternate keyboard shortcuts to use for moving quickly, but at least on Windows 7, shift is needed to prevent the other tools to be selected when using WASD, which sucks, since it tires out the fingers... If there's something different about your platform, I'd love to make it more feature-rich for systems that support it.

      1 Reply Last reply
      Reply Quote 0
      • JClementsJ
        JClements
        last edited by

        Alan,

        So I toggle FPS on. I click on the TopView icon. Next I use one of the arrow keys.

        As soon as I do this the axis rotates 180+ degrees and the camera is no longer looking straight down. Is this the proper behavior?

        John | Illustrator | Beaverton, Oregon

        1 Reply Last reply
        Reply Quote 0
        • J
          Jorgensen
          last edited by

          Hi Alan

          I've just started to play around with Lumion witch uses the WASD+shift combination - just like FPS games, and I find it a very easy way to navigate around the model..... but when I go back to Sketchup it takes some time to get use to navigate the Sketchup way - mousewheel mousewheel mousewheel mousewheel mousewheel.... 😞

          So what I really would like a WASD navigation in Sketchup - and it Should work without I need to activated it by pressing a menu button first.

          That's my dream, but I sure know the limitations of Skethup, and it might not be possible to do at all.

          I use Windows 7.

          Could shiftloc be of any use? - I find the right click mousebutton quite problematic, because the context menu keeps popping up 😞

          Thanks πŸ˜„

          btw - I can't figure out why it's not implemented in Sketchup as default.

          sketchup pro 2016 16.1.1449 64 bit | windows 10 pro | i7-3770k @3.5 GHz | 16gb ram | gtx 780 ti / gtx 980 ti | nvidia driver 368.39

          1 Reply Last reply
          Reply Quote 0
          • M
            Michaelv
            last edited by

            Of course keys are not working on mac. 😍

            I already have the keys implemented (arrows keys only) and changed the up down movement to > and < and option/command.
            I also used right double click for speed X10 (which I may reduce)

            I am planning to use modifier plus arrows for rotating camera up down left right, but rotating around, not rotating the field of view. Working on it.

            1 Reply Last reply
            Reply Quote 0
            • A
              Alan Chatham
              last edited by

              Let me know how you go, Michael. I'm possibly making some changes to how the camera code works today (it should be minor, but basically it currently creates a new camera and uses that, which means it screws up if you use it in conjunction with panning and tilting, so I want to change that).

              JClements - That is unintended! It's an unforseen consequence of the mouselook code, which currently clamps the horizontal angle within a certain range. I'll try and get that fixed today.

              1 Reply Last reply
              Reply Quote 0
              • M
                Michaelv
                last edited by

                I'll modify accordingly once you modify the camera stuff.

                I'm thinking along these lines:
                Arrows: pan left/right/backward/forward
                Option/Command pans down/up
                Control plus arrows orbits left right, up down
                <,> changes field of view in and out (but needs a standard reset)
                Right double click toggles high speed motion/slow speed

                Also I would not come back to a standard view every time, I'd start with the current camera view, which means the mouse orbit,zoom and pan still work.

                PMed the current code

                1 Reply Last reply
                Reply Quote 0
                • S
                  Stevo
                  last edited by

                  Alan, hey this looks like something I've wanted for a while; especially after playing with Lumion. I downloaded the file and put it in my Plugin folder and I still cant get it working. What is the rbz extension? Where do I put it? Sadly I seem to be having a senior moment....urghh and I'm 48!

                  OS/Hardware:
                  Win7 64
                  Sager NP7280
                  i7 980x
                  SLI 460M
                  12gb

                  1 Reply Last reply
                  Reply Quote 0
                  • Rich O BrienR
                    Rich O Brien Moderator
                    last edited by

                    .rbz is installed under Windows > Preferences > Extensions under SU v8 M2

                    Or just rename the .rbz extension to .zip and unzip it.

                    Download the free D'oh Book for SketchUp πŸ“–

                    1 Reply Last reply
                    Reply Quote 0
                    • S
                      Stevo
                      last edited by

                      Thank you Rich. Alls good, this is a great little Plugin Alan, thank you.

                      OS/Hardware:
                      Win7 64
                      Sager NP7280
                      i7 980x
                      SLI 460M
                      12gb

                      1 Reply Last reply
                      Reply Quote 0
                      • A
                        Alan Chatham
                        last edited by

                        Thanks! I'm glad you like it!

                        1 Reply Last reply
                        Reply Quote 0
                        • D
                          DANSTAZ
                          last edited by

                          Hi this is my first post, and i would like to know if you have the time to answer, does this work like a game in terms of say COD where by the camera pans via the mouse (i noticed you said you didn't use a mouse generaly) and the movement is via the wasd keys? THanks for you time and a massive thanks to all the ruby coders.

                          1 Reply Last reply
                          Reply Quote 0
                          • W
                            weba
                            last edited by

                            Finally found plugin to allow this, should be like this from the start with, developers never played FPS games?

                            But, what I'd really appreciate, would be invert-mouse for free look! I'm one of those weirdos who likes that, maybe in the next release...? πŸŽ‰

                            1 Reply Last reply
                            Reply Quote 0
                            • J
                              JuanV.Soler
                              last edited by

                              could it be possible to move an object with the keypad like in Layout ?
                              Thanks for the plugin ,._)))

                              Edited : I found this plugin from Jim : http://sketchucation.com/forums/viewtopic.php?t=1530
                              smart Β‘ thank_you

                              ,))),

                              1 Reply Last reply
                              Reply Quote 0
                              • B
                                bigjonyz
                                last edited by

                                Very good effort. if there is a way to reverse the mouse Y axis or sensitivity would be great.

                                1 Reply Last reply
                                Reply Quote 0
                                • L
                                  lonherz
                                  last edited by

                                  @ weba and bigjonyz :

                                  I prefer the y-axis inverted too, and I have obtained this modifying the plugin's code:

                                  • if you have sketchup opened, close it

                                  • open the sketchup's "Plugins" folder

                                  • open the file "FPSNav.rb" in the folder "FPSNav" with a text editor (like notepad++)

                                  • find this line (about at row 343):

                                  yRotationTransformation = Geom;;Transformation.rotation(@FPSNav_eye, horizontalAxis, radiansToRotate)
                                  

                                  and change it like this:

                                  yRotationTransformation = Geom;;Transformation.rotation(@FPSNav_eye, horizontalAxis, -radiansToRotate)
                                  

                                  (the only difference is a minus before "radiansToRotate")

                                  • save the file and then open sketchup: now the y-axis should be inverted
                                  1 Reply Last reply
                                  Reply Quote 0
                                  • J
                                    Jorgensen
                                    last edited by

                                    Can anyone please explain how (if possible) I can mod the script so

                                    • I can change the navigation to WASD / Q&E without having to use shift?
                                    • use SPACEBAR to doubble speed?
                                    • automatic start WASD navigation just by pressing 'w'?

                                    Thanks πŸ˜„

                                    sketchup pro 2016 16.1.1449 64 bit | windows 10 pro | i7-3770k @3.5 GHz | 16gb ram | gtx 780 ti / gtx 980 ti | nvidia driver 368.39

                                    1 Reply Last reply
                                    Reply Quote 0
                                    • J
                                      Jorgensen
                                      last edited by

                                      bumb πŸ˜„

                                      sketchup pro 2016 16.1.1449 64 bit | windows 10 pro | i7-3770k @3.5 GHz | 16gb ram | gtx 780 ti / gtx 980 ti | nvidia driver 368.39

                                      1 Reply Last reply
                                      Reply Quote 0
                                      • J
                                        Jorgensen
                                        last edited by

                                        Or just change the keys to wasd?

                                        sketchup pro 2016 16.1.1449 64 bit | windows 10 pro | i7-3770k @3.5 GHz | 16gb ram | gtx 780 ti / gtx 980 ti | nvidia driver 368.39

                                        1 Reply Last reply
                                        Reply Quote 0
                                        • A
                                          ArielC
                                          last edited by

                                          Been waiting this from AtLast, and then Google, and now Trimble...it's been years I wanted to find other options then I discovered Adobe Director.

                                          It can import Sketchup files and make it interactive including FPS. Files can be published as a standalone executable file for PC or MAC use (haven't tried publishing as an APP for Ipad use but I know it can be done.) For viewing on the Browser, it requires Adobe Shockwave Player plug-in to run.

                                          FPS
                                          -navigating using arrow keys
                                          -with collision
                                          -open swing and sliding doors
                                          -add sound
                                          -many more

                                          Here's a video on a project I was navigating - http://www.youtube.com/watch?v=t-6HQ8erShM

                                          And more on my blog if you want to try - http://sketchuptodirector.blogspot.sg/

                                          1 Reply Last reply
                                          Reply Quote 0
                                          • L
                                            leeyangyang
                                            last edited by

                                            Hi Alan

                                            The link seems down?

                                            1 Reply Last reply
                                            Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better πŸ’—

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement