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"

Mario Galaxy Gravity with Line Trace Bug

Hello! I am trying to create a simple game using the Mario galaxy style gravity, something like this:

alt text

There are a bunch of threads explaining how to do this, but I must be doing something wrong because I've been noodling around with it for days but I can't seem to get it to work? Here's my blueprint:

alt text

I'm using a character blueprint with the movement set to flying so it ignores gravity.

alt text

It seems to work perfectly at first as seen above. But if I move the character passed the halfway mark on this sphere, it glitches out and starts rotating like crazy and causing a mess. It seems like the impact normal is flipping my character 180 degrees or that the character movement won't update itself in its new orientation, but whatever the reason I just cannot seem to fix it. Can anyone help me figure this problem out? It's driving me crazy...

Product Version: UE 4.20
more ▼

asked Sep 14 '18 at 02:02 AM in Blueprint Scripting

avatar image

25 2 7

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

maybe because u try to rotate 360° but unreal uses -180 to 180 when using rotations?

more ▼

answered Sep 14 '18 at 12:49 PM

avatar image

324 14 3 10

(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