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"

Ball Puzzle Game

Hi All,

I want to try to make a Ball Puzzle game, similar to that in the new zelda game. Where you just have to get the ball into the hole in order to open a door. Now how would i go about doing this?

Would it be a case of having a trigger box at the bottom of the hole, then have it so only the ball can set it off? How could i make the trigger box only register the ball and not the player as well?

Any help with this would be greatly appreciated.

Product Version: UE 4.12
Tags:
more ▼

asked Mar 14 '17 at 03:09 PM in Blueprint Scripting

avatar image

JamesWolfwood
12 3 2 5

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

1 answer: sort voted first

make sure the trigger is set to overlap all, then in the blueprint for it, click on the collision component youre using, at the bottom of the details panel you will see a bunch of green plus signs, click the one for OnComponentBeginOverlap. then in the event graph, drag out the Other Component pin (or just Other pin depending on how youre doing this) and type cast to (whatever your Ball Blueprint/Component is called). That will check specifically if your ball touched the trigger

more ▼

answered Mar 14 '17 at 04:51 PM

avatar image

ViceVersa
1k 64 48 98

avatar image JamesWolfwood Mar 14 '17 at 10:16 PM

Oh My Gods it's so simple, thank you very much

(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