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"

Can I get the current distance of the Camera Spring Arm?

I'm using a camera spring arm and I would like to be able to get the distance it's arm is currently. Meaning that if it is currently being pushed forward because it's colliding with a wall or something, then I would like to get the distance it is at that call. All I see in BP is variable for getting the Arm length - but this doesn't appear to give the distance it is rather the pre-set distance that it extends to.

Product Version: Not Selected
more ▼

asked May 28 '14 at 02:22 PM in Blueprint Scripting

avatar image

966 143 150 390

avatar image MeshMyster Dec 14 '15 at 12:20 AM

Why has no one answered you?

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

1 answer: sort voted first

Hello Thumper,

I was able to make up a quick example for you. I hope that this information helps.


In this example I get the current position of the camera and the origin point of the spring arm and subtract them from one another, from there I use vector length to get the distance between the two points. Please note that the event tick was used only as an example.

alt text

Make it a great day

more ▼

answered Dec 15 '15 at 08:40 PM

avatar image

Rudy Q ♦♦ STAFF
47.4k 545 132 525

(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