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"

Physics Asset: How to prevent 'bending'?

Hi,

I'm trying to make a physics asset for a robot, with multiple pieces working together, but I can't stop the pieces from 'bending' or 'stretching' out of place, like in the picture: alt text

  • the skeleton tree starts with the 'foot' of the robot, in Kinematic mode, with each arm 'nested' into the nest until you reach the top (8 pieces in total).

  • each arm has a physics constraint both backward (up the hierarchy) and downward (down the hierarchy)

  • so far I got best results with the weights going down 10x from each arm to the next (so 10k for the base, 1k for the first arm, 100 for the second arm, etc), like so: alt text

Basically, I want the constraints to apply without any bending, without any flexibility. I've tried - linear/angular damping of the bodies - adjusting the Swing Motion constraints (soft constraint with 50k stiffness or hard constraint, or free constraint) - adjusting linear limits with 50k stiffness, or had constraint - adjusting constraint behavior (small or larger projection linear / angular tolerance..) - changing the weight, switching on/off gravity on the different arms ..and of course variations and combinations of the above.. I've been playing with this for a day now, and when I solve one joint, the next joint give me problems. When I solve the next joint, the previous one starts bending again.. it's like a game of whack-a-mole.

So, I'm asking for help here..: What can I do to get the constraints to just apply!?

Product Version: UE 4.21
Tags:
more ▼

asked Feb 15 '19 at 12:09 PM in Using UE4

avatar image

Warner V
46 2 4 11

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

1 answer: sort voted first

Alright, finally I found two things that were happening here:

  • Importing the Skeleton Mesh from Blender, the scaling if off (unless you follow description in **link**)

  • From one bone to the next, things work better if you reduce the weight by an order of magnitude (10k, 1k, 100, 10kg etc.)

more ▼

answered Feb 19 '19 at 11:11 AM

avatar image

Warner V
46 2 4 11

(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