Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Free Camera on a Vehicle?

Hi guys, I'm looking to make a camera that allows you to look around while on the vehicle (which is a character) while the vehicle is stationary (eg looking left and right WILL NOT rotate the model). For moving it I'd be using the WASD keys (Which I already have set up, W S for forward/backward, A D for left and right) and then allowing the player to look left and right by using the mouse. I've been able to get it all working except for the mouse looking side to side. How would you go about setting this up? The vehicle is a horse so getting the player to be able to look around while riding is essential!

Here is my current input for blueprints: alt text

Any help would be great. Thanks!

Product Version: Not Selected
horse input.png (231.1 kB)
more ▼

asked Feb 27 '15 at 01:39 PM in Blueprint Scripting

avatar image

183 11 12 28

avatar image IanBreeg Feb 27 '15 at 01:45 PM

I think you should just turn off bUseControllerRotationYaw and turn on Orient Rotation To Move and set the rotation speed to some value you find to work well. You can find these settings under your Movement Component and the Defaults section for your Character blueprint.

alt text

alt text

1.png (4.1 kB)
2.png (3.6 kB)
avatar image Higuy8000 Feb 27 '15 at 02:17 PM

Hi, this seemed to work pretty well! Theres only one thing that concerns me with this. I'd like to the horse to keep moving based on the way hes rotated, but not the camera. Eg if I'm looking off to the left, and press W, he should keep moving forward in that direction, not to turn to the orient with the camera. How would you do that?

avatar image IanBreeg Feb 27 '15 at 02:23 PM

Then just turn off Orient Rotation To Move too. :)

avatar image Higuy8000 Feb 27 '15 at 08:33 PM

Hey, this still moves the camera in the same direction its pointing, but just dosent move the horse. So maybe a different thing would work?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question