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"

How to make a physics object not lose velocity and change direction on impact?

Hey Guys,

I have been trying to make some balls in a box bounce and collide without losing velocity. When I use projectile movement the ball behavior is correct except that it loses velocity after each collision. I tried using physics thruster and add force but both solutions don't react properly when they collide with the walls of the box. Is there any way to have the same behavior as the Projectile movement without losing velocity on impact. I set bounce to 1 and gravity and damping to zero on my original projectile movement test.

Any help would be appreciated.

Product Version: Not Selected
Tags:
more ▼

asked Sep 01 '14 at 01:16 PM in Blueprint Scripting

avatar image

Fschman13
1 1 3 3

avatar image Fschman13 Sep 06 '14 at 08:55 PM

Ok, I have it mostly working. Now my issue is that the spheres often get "hung up" and follow the sides of my collision box closely "riding the rail" so to speak. I would prefer they don't do this. I've attached a screen shot of the collision box setup (the level) and the blueprint I am using to get the behavior. If someone could look over it and let me know if I missed something, it would be much appreciated.alt text

board.jpg (74.3 kB)
example01.png (423.5 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Ok,so the only thing I was missing was that i was using a sphere collision, when i changed the collision to a box it worked fine.

more ▼

answered Sep 07 '14 at 04:43 PM

avatar image

Fschman13
1 1 3 3

(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