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"

Changing Location of a Mesh in BP relative to another Mesh in another BP

I have 2 Blueprints : BP1 (FPS BP ) and BP2 (Contains a Static Mesh sphere)

AIM : I want to change the location of BP2 Mesh according to motion of FPS Camera of BP1

I have 2 options to achieve that :

  1. I can combine mesh of BP2 in BP1 and it will move accordingly. Problem with this : I was not able to produces LineTrace Results as I hoped.

  2. Making 2 seperate Blueprints and Set Line Trace according to them Problem : HOW TO CHANGE LOCATION OF MESH ACCORDING TO FPS CAMERA.

Any push to the right direction is appreciated.!

Product Version: UE 4.14
Tags:
more ▼

asked Jan 31 '17 at 06:00 PM in Blueprint Scripting

avatar image

AnkitPassi
19 6 6 11

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

that's one of the way to do it: [BP2]

alt text keep in mind you will have to set a camera reference variable in your BP2.

note: a better way would be creating BP3 and setting two member components, each of BP1 and BP2 respectively, and implementing the logics in there. shouldn't be problem, but if you say you have a problem with LineTrace, i believe you messed up it's inputs. i would post a screenshot of that LineTrace setup with the question in your place.

screenshot_3.png (135.6 kB)
more ▼

answered Jan 31 '17 at 11:38 PM

avatar image

Arty-McLabin
838 18 36 58

(comments are locked)
10|2000 characters needed characters left
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