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"

How to make clickable mesh with box component ?

Hello , I wish i could make a clickable mesh. What i mean. i have simple mesh in my level and i want to click with the mouse on the Box component (attached to that mesh ) and the event to be triggered, but it is not working no matter what. I made all the necessary settings, but i think i'm missing something for sure.

the blueprint is of type Actor and it has mesh and box component and arrow for root

i'm attaching screenshot of the blueprint i'm using + settings in player controller.

Please help me :) ? alt text alt text

Product Version: Not Selected
Tags:
more ▼

asked Jul 25 '14 at 07:46 PM in Blueprint Scripting

avatar image

THX2000
55 8 8 11

avatar image Ben Halliday STAFF Jul 29 '14 at 06:30 PM

Hey THX2000,

It's likely that your box component isn't set up properly. Is the box visible in the level? Can you show us its settings? Box components can be difficult to click in game, and it might be better to set it to click the mesh itself. What are you trying to achieve with the box component?

avatar image THX2000 Jul 29 '14 at 06:59 PM

Hey Ben

I saw the sample - Board Game and I was interested of using that idea to have box components and meshes attached to them. alt text

i'm attaching the the screenshot of the settings for the pictures.

Cheers

boxcomp.png (73.9 kB)
avatar image Ben Halliday STAFF Jul 29 '14 at 07:17 PM

Hey THX2000,

A second look at your Player Controller Blueprint showed me that you have Block Input enabled. Uncheck that and see if you have the same problems.

avatar image THX2000 Jul 30 '14 at 07:11 PM

Sand helped me but i thank you for your advice as well

Cheers

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

1 answer: sort voted first

All I'm know...The box component must have a collision response set as Block All to the click event works...and the click events must be permitted pushing a node from the Player Controller Set Enable Click Events and Set Show Mouse

more ▼

answered Jul 30 '14 at 06:23 PM

avatar image

LitStudio
371 55 49 64

avatar image THX2000 Jul 30 '14 at 07:02 PM

Hey Sand can you tell me what do you mean by..and the click events must be permitted pushing a node from the Player Controller Set ?

avatar image THX2000 Jul 30 '14 at 07:10 PM

I worked !!! Thanks :)))

Regards

avatar image Solvay Jan 12 '16 at 03:22 PM

The collision response has to be set like below to generate an input event.

  • Collision / Collision Presets / Collision Enabled : Query Only (No Physics Collision)

  • Collision / Collision Presets / Collision Responses / Trace Responses / Visibility / Block : Checked

They seem the minimal requirements.

(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