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. 

Bouncing a ball using physics materials

I am currently trying to create a simple arkanoid clone. I have created a ball with the following hierarchy

RootComponent (SceneComponent) -> StaticMeshComponent

On the Static Mesh, I am using the AddImpulse function to launch the ball, I have also attached a physics material to the ball with a restitution of 1 and a friction of 0.

alt text

The problem is, when the ball collides with the borders (which are just primitive cubes) it does not bounce correctly unless the borders also contain the same physics material.

Is there something I'm doing wrong, shouldn't the ball bounce around without the need to attach the physics material to each actor?

Here are my current settings on the Ball_BP

alt text

Product Version: UE 4.21
balldetails.png (103.6 kB)
more ▼

asked Mar 02 '19 at 09:52 AM in Everything Else

avatar image

1 3 1 5

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

1 answer: sort voted first

hmm my sphere actors bounce even if i dont do any changes to them. however here is a video based on physics material : https://www.youtube.com/watch?v=1EzVZeNt00k

more ▼

answered Mar 02 '19 at 09:55 AM

avatar image

318 3 6 15

(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