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"

Minigolf Game: Rotation slows ball on bounce

Hello there!

I spend almost an hour looking for a solution. I build a little Minigolf Game (My first one), and everything works so far. Now, when I hit the ball and it bounces off it, it gets a rotation (which is realistic and fine), but slows the ball off. So it's simply possible, to smash it to the wall behind the hole and the roation stops it pretty immediately. I would love a more simple mechanic, where it just bounce off the wall with a little less speed due to the impact, but the rotation should not impact that hard. A little bit like this example: https://youtu.be/VagOqmFbjjo?t=2763

I already used a static mesh around my Ball with no physics turned on as suggested in one post but that didnt helped at all.

Do you have any Tipps for me how to solve this?

Thanks

Product Version: UE 4.18
Tags:
more ▼

asked Feb 26 '18 at 02:23 PM in Using UE4

avatar image

Pazens
1

avatar image ThompsonN13 Feb 26 '18 at 04:52 PM

i would have thought physics would have been the way to go. if i were you and you plan to not use physics then i would look into using event hit and impact normal, then use that data to calculate the angle of reflection and base your rotation on that. this will require some vector math and trig.

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

0 answers: sort voted first
Be the first one to answer this question
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