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"

Isometric camera rotation?

Hey guys, got a basic isometric camera set up at a 70 degree angle on the Y. It works fine as is and I am happy with that part of it, however I want to implement a tactics style camera rotation where you can rotate it 90 degrees at the press of a button. I've tried extracting the value of Z rotation and tried adding 90 to it so every time i press a button it rotates, can't get that to work and even if I did it could lead to future problems of having enormous rotation values. Can anybody point me in the right direction?

Product Version: Not Selected
Tags:
more ▼

asked Jul 13 '14 at 04:38 AM in Blueprint Scripting

avatar image

LordMorko
1 1 3 3

avatar image LordMorko Jul 13 '14 at 04:58 PM

alt text

This is about as far as I can get, which does work sometimes. There seems to be fighting values that prevent it from doing a clean rotation. It will at times rotate just fine and then at others it won't rotate at all but rotate three time on the next press. Any ideas as to what could be causing this? Thanks in advance!

capture.png (91.2 kB)
avatar image LordMorko Jul 13 '14 at 05:23 PM

Huh, I wanted to test a few thing and placed a print statement on the end result. it seems as though when I press the camera rotation buttons it gives me multiple values which is why I think it's not rotating properly. Anyone know how to lock it down to just one press. maybe even add a delay so it can't be pressed again for a set period?

avatar image LordMorko Jul 13 '14 at 05:57 PM

alt text

It's not pretty but it gets the job done. I would rather have had that nice sleek line like the last one I posted and not this massive copy paste job. Oh well, until someone else tells me how to make input axis work and only return the one value. This will have to do...

capture.png (160.0 kB)
(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