x

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 do I set up an Inverted camera in blueprints

I am currently trying to see if i could invert the LookUp function "on the fly", but for some reason, my float always sets itself to -1, even when the blueprint clearly shows otherwise. I don't really know how to explain my problem very well, so i hope this image will.alt text

When i pess Q to see what my exponent value is, it states -1.0. What am i missing? (Sorry the comments are a bit messed up, i couldn't be arsed to change them when i added the print string function).

Product Version: Not Selected
Tags:
more ▼

asked Oct 30 '14 at 01:00 PM in Blueprint Scripting

avatar image

fluzzywuzzy
5 1 3 6

avatar image DG Gage Oct 30 '14 at 01:12 PM

Where and how is the variable being set?

avatar image fluzzywuzzy Oct 30 '14 at 01:15 PM

As of now, it's public and being set in the details panel. I might be understanding it wrong, but when i start the game with the bool set to false, the orange line in the blueprint gets sent through the false output, and when set to true, it gets sent to through the true input (as in the image), so I don't see how the bool is the source of the missbehaviour.

avatar image DG Gage Oct 30 '14 at 01:57 PM

It seems unlikely, but sometimes weird things happen. To eliminate that as the problem, try setting the bool for invert in-game, by pressing "I" or something to switch the values it's returning.

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

1 answer: sort voted first

Hey fluzzywuzzy-

If I understand correctly you want to be able to swap the vertical axis for camera control? Rather than use a bool to control the branch node, it might be simpler to use a comparison of your Exponent variable so that way it will swap values each time it is pressed.

alt text

invertcamera.png (188.2 kB)
more ▼

answered Oct 30 '14 at 01:55 PM

avatar image fluzzywuzzy Oct 30 '14 at 07:59 PM

Works fine. Thanks!

(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