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"

Smooth Table Hitting Physics

So basically I'm looking to implement objects, like a hammer or hands, hitting a table or hard surface smoothly, like this.

My question is, are there any physics formulas, or code that could point me in the right direction of how to do this in Unreal Engine 4? Or any ideas of where to start?

Any and all help would be appreciated!

Edit: My apologies with the specifics. I am doing this in VR, and the idea is that every object, including the Ghost Hands would have this same kind of collision.

Product Version: UE 4.19
Tags:
more ▼

asked May 18 '18 at 02:25 AM in C++ Programming

avatar image

Donut5
13 2 6

avatar image Donut5 Jun 20 '18 at 05:46 PM

No progress on this yet, looking through the VRFunhouse source code.

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

1 answer: sort voted first

I have no idea. But I would assume being VR..it's just collision responses at the bottom of the hammer, or if it wasn't VR..you would probably have to animate the hitting mechanic and use collision responses with that.

more ▼

answered May 18 '18 at 06:29 AM

avatar image

timsev7n
98 2 5 8

avatar image Donut5 May 18 '18 at 04:58 PM

Thanks for the response! I am, in fact doing this in VR and so collision responses? Does that mean to add a collider to the bottom of the hammer? I noticed that it works with the entire object, which is where my dilemma comes from. Maybe it's the table itself.

(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