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"

Camera & character math/logic

My character's skeleton has a head bone, and an invisible bone sticking out in front of his face (which, for brevity, you could think of as a "socket" for the camera). The camera component itself is attached to a spring arm, which is targeting this camera bone. What I'd like to do is, while in 3rd person mode, have the spring arm's target location rotate around the character's head, based upon controller yaw input.

The goal here is to try and keep the character within view, but keep him out of the crosshairs in the center of the screen. So I figured I could simply offset the spring arm's TargetOffset X value by like 100 or so, which only does the job if the camera isn't pointing north (0 degrees) or south (180 degrees). So I figure if I could rotate the target around the character so that it's always on one side, the character can never get in the way but will still always be visible on screen.

Am I overthinking this? What's the best way to go about it?

Product Version: UE 4.15
Tags:
more ▼

asked Aug 04 '17 at 02:42 AM in Blueprint Scripting

avatar image

MichaelWion
260 30 40 51

(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