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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Strange behavior of Arrow Component

I’ve got a bigger problem with my Shooting blueprint. The blueprint allows me to Shoot a projectile in a 2-Dimensional room to the location of my mouse curser widget. It works fine besides for one little thing. The Arrow Component on my Character have a little false angle, so the projectiles are not hitting the middle of my Curser. The Error angle is “not to big” but it would be nicer if it's 100% accurate. In the Images you can see the problem pretty well. Unfortunately, I can’t explain myself why my Arrow Component acting like that.alt text

Product Version: UE 4.21
Tags:
y.png (367.4 kB)
more ▼

asked Dec 18 '18 at 08:17 PM in Blueprint Scripting

avatar image

Kebapca
8 1 2

avatar image Evigmae Dec 18 '18 at 08:27 PM

can you show the blueprint you made to point the arrow?

avatar image Kebapca Dec 19 '18 at 12:04 PM

The Event Graph is in my Character and the pointing of the arrow is described at the bottom of this picture here:alt text

avatar image Tuerer Dec 19 '18 at 12:15 PM

The issue might be in Y being 0. Try getting the Character Y location and feeding it to the Y input of the Find Look At Rotation node. I know it's 2D, but worth a try.

avatar image Kebapca Dec 19 '18 at 04:21 PM

It seems it didn’t change a think if I try to pull the location to the empty Y slot. Can it be that the issue is the Arrow Component itself? I don’t know if it's like a "Point-Mass" that orientate to the mouse location or if the 0-Point is somewhere else on the Arrow Component.

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

1 answer: sort voted first

Guys I managed to solve the problem by myself =D. My scripting was absolutely fine, the only problem was my Crosshair Widget itself. I deleted it and made it new and now everything works perfectly.

more ▼

answered Dec 20 '18 at 05:51 PM

avatar image

Kebapca
8 1 2

(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