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"

Whiteboard is not working :(

So I followed Reuben Ward's Tutorial on making a whiteboard, but instead of using a FPS, I used a sphere which is always at mouse location. So far so good... NOT! Because whenever I use it, there is only a circle in the middle of the whiteboard and I have absolutely no idea what I'm doing wrong! Here are some screenshots:

BP_Sphere: Sphere

BP_Whiteboard: Whiteboard

And this is how it looks: Preview

Thanks for any help in advance!

Product Version: UE 4.16
Tags:
sphere.png (177.2 kB)
whiteboard.png (144.2 kB)
preview.png (91.1 kB)
more ▼

asked Mar 14 '18 at 05:24 PM in Blueprint Scripting

avatar image

Pixel_Error
49 2 9 10

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

2 answers: sort voted first

I think you may be missing a parameter name in BP_Whiteboard: when you set the Vector Parameter Value in the Marker Material Instance the parameter name is set to None, but probably should be set to DrawLocation or something like that.

more ▼

answered Mar 28 '18 at 05:52 PM

avatar image

PabloNajurieta
26 1 7 2

avatar image Pixel_Error Mar 29 '18 at 04:38 PM

That... actually worked! And makes sense... Thanks PabloNajurieta, and also salm for your help! One last question: Do you think it's possible to draw a texture?

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

Right after event 'Draw on WB' you multiply by scalar '0.0000'. If you breakpoint 'Set Vector Paramateter' you'll probably see it is always a zeroed vector. I haven't seen the tutorial, so I'm not sure what is actually supposed to go there.

more ▼

answered Mar 25 '18 at 01:07 PM

avatar image

salm
164 2 3 6

avatar image Pixel_Error Mar 26 '18 at 02:31 PM

Unfortunatley, that didn't help... but still, thanks for your answer!

avatar image salm Mar 27 '18 at 05:11 PM

PrintString the 'Location To Draw' pin on 'Draw on WB' event. What does it return?

Also, Is 'UV from hit result' checked in Physics? The UV Collision node tooltip says you have to.

avatar image Pixel_Error Mar 28 '18 at 01:51 PM

Now I'm really confused... PrintString gives coordinates between 0 and 1, and yes, 'UV from hit result' is activated... Maybe it's the board itself? I used a cube

avatar image salm Apr 04 '18 at 04:50 PM

I was confusing the Vector2d to Vector conversion node with a multiplication node. They both are marked with '*', I think.

Anyway, nice catch, PabloNajurieta.

(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