[Plugin]FPS Nav
-
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.
-
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 speedAlso 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
-
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!
-
.rbz is installed under Windows > Preferences > Extensions under SU v8 M2
Or just rename the .rbz extension to .zip and unzip it.
-
Thank you Rich. Alls good, this is a great little Plugin Alan, thank you.
-
Thanks! I'm glad you like it!
-
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.
-
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...?
-
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 -
Very good effort. if there is a way to reverse the mouse Y axis or sensitivity would be great.
-
@ 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
-
-
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
-
bumb
-
Or just change the keys to wasd?
-
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 moreHere'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/
-
Hi Alan
The link seems down?
-
Alan...is there any way to reverse the upward/downward looking of the mouse control?
It is backwards from Unity and others
-
@kurogriotcabron said:
Alan...is there any way to reverse the upward/downward looking of the mouse control?
It is backwards from Unity and others
take a look at lonherz post.
jorgensen
-
Awesome plugin! Only one thing i would polish.
There are very noticeable jumps in camera rotation while moving with keys and rotating camera in the same time. Would be very grateful to have this fixed.Thanks!!
-
Hey guys! Registered just to say thanks for this plugin. SU is a PITA to use without it. Also, I forked the project on GitHub and contributed a PR to fix camera jumpiness and improve some things. PR is here:
https://github.com/AlanChatham/FPSNav-for-SketchUp/pull/2
Fork is here:
https://github.com/NathanSweet/FPSNav-for-SketchUp
You can download my fork here:
https://github.com/NathanSweet/FPSNav-for-SketchUp/archive/master.zipThanks again for the plugin!
Advertisement