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"

How to change the movement orientation?

Dear Community,

I have quite complicated question to describe, but I'll try. I have set up a few cameras on my scene and the view from the camera is only displayed when I'm in the box trigger connected to the camera blueprint. However when I move to another room (for example), the view changes to the other camera, but the movement orientation stays as before. That means if I press left, the character turns right because of the specific camera position.

Is there any way to make movement orientation match to the camera view?

Thank youalt text

Product Version: Not Selected
more ▼

asked Jan 21 '15 at 11:14 PM in Blueprint Scripting

avatar image

1 1 1 4

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

1 answer: sort voted first

Hmmm. What I would probably do is set up the character movement to run off of a 'CurrentForwardVector', such that when you press 'Left', you use the 'CurrentForwardVector' rotated by 90 degrees as the direction (and not a hard coded vector).

Then, I'd have the 'CurrentForwardVector' for the character be set when you change the camera, to whatever the camera's forward vector is (although you may need to 0 out the Z component of the vector if you don't want your character flying!)

Good luck!

more ▼

answered Jan 22 '15 at 02:34 PM

avatar image

143 15 16 28

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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