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"

2D Platformer Bounding Box for Followcam

Hey guys,

I just got into Blueprints and am now working with the paper character blueprint class and wanted to blueprint a followcam. I came across this unity tutorial which does exactly what I want by creating a bounding box around the character that moves when you touch the bounds:

https://www.youtube.com/watch?v=WL_PaUyRAXQ

now my first question would be: how would I approach the scripting (like I have no clue at all other than there is a camera blocking volume)?

and second: is it possible to build the whole thing inside my paper character BP? or should I create a separate BP

Thank you in advance!

Product Version: UE 4.11
Tags:
more ▼

asked Jun 01 '16 at 12:33 PM in Blueprint Scripting

avatar image

douchekopf
11 2 4

avatar image douchekopf Jun 01 '16 at 02:42 PM

so my first thought would be: - create a box collider component - check line trace for the border - make the collider move with hit

maybe something like that?

avatar image douchekopf Jun 09 '16 at 11:05 AM

So I kind of have a setup but currently the box if moved is clunky and only works correct to the left but jumps when i move to the right.

box.png (147.1 kB)
(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

ok so I don't know if anyone is even interested in this topic. I'm still gonna keep updating it because I think there will be a lot more people wanting to make 2D stuff in unreal:

so this is my BP so far (need to fix the x-axis offset and a translate for the top and bottom of the box):

http://blueprintue.com/blueprint/r5gxzjqd/

more ▼

answered Jun 10 '16 at 01:25 PM

avatar image

douchekopf
11 2 4

(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