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 block the player camera from clipping through BSP's?

i placed a camerablockvolume on the bsp wall in my level,but in game my camera(created in a bp attached to my main character)can still go through it,how to solve this?? thanks a lot!!

Product Version: Not Selected
more ▼

asked May 20 '14 at 02:09 PM in Using UE4

avatar image

396 63 80 106

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

1 answer: sort voted first

Hi hls333555,

Do you have a SpringEndpoint as the parent socket for your camera? Also, have you tried comparing your camera setup to the camera in the 3rd Person Blueprint template?

more ▼

answered May 20 '14 at 03:25 PM

avatar image

41k 1009 183 494

avatar image hls333555 May 20 '14 at 10:57 PM

the springendpoint you mean is the springarmcomponent?

avatar image mindfane May 21 '14 at 06:01 AM

Yes. Use the SpringArmComponent. Attach the cmaera as a child of Spring arm. You can set the desired distance and other transformations inside SpringArm's properties. Use the camera lag param to add a small delay so that the transition is not instant

avatar image hls333555 May 21 '14 at 10:36 AM

but camera can still go through my bsp...

avatar image mindfane May 21 '14 at 10:58 AM

Wait,..ok I understood wrong. So you want to prevent the camara from moving? In that case uncheck 'Collsion test' option in spring arm properties. This will make sure the Camera does not move, but keep the correct distance from the character.

You can also play with collision channels in the Volume to decide what to block and what to overlap.

avatar image hls333555 May 21 '14 at 11:35 AM

no matter how i change the details,the camera block still dosent work,maybe is a bug... thanks all the same

avatar image hls333555 May 21 '14 at 03:16 PM

oh ,i lowed the value target arm length, the block works thanks!

avatar image youraveragemoe Dec 25 '14 at 02:21 AM

If I could just ask how you got the CameraBlockingVolume to work, because I'm having the same problem and no matter what I do the camera just rolls on through the volume.

(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