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"

link static mesh to a skeletal mesh with physics constraint

Can I link a static mesh to a skeletal mesh using a physics constraint ?

I have skeletal mesh (an animal) that I want to drag or pull around a static mesh (a cart), if I link the two togeather in the blueprint of the character, it lets me compile it, but the cart then "flaps around wildly" behind the animal, its looks broken.

Can I even do what I am trying to do ?

Any thoughts ?

Product Version: Not Selected
Tags:
more ▼

asked Oct 13 '14 at 08:22 AM in Blueprint Scripting

avatar image

w_jones
136 5 11 18

avatar image alperenakyuz Oct 16 '14 at 04:32 PM

The cart should be the root of the blueprint and not the skeletal mesh. Maybe you did it the other way around?

avatar image w_jones Oct 16 '14 at 05:26 PM

I did do it the other way round with the animal the root, and the cart being dragged around.

I'll try it the other way round as you suggest, but how would I get the idea that the animal is dragging the cart ? surely the animal drags, the cart has physics simulation enabled... and then it will behave as if its dragged ... no ?

avatar image alperenakyuz Oct 16 '14 at 05:49 PM

Ok, somehow I managed to misunderstand it as your cart would carry animals around. Anyways, have you checked the "Always Create Physics State" in collisions?

avatar image w_jones Oct 16 '14 at 06:23 PM

Yes I have that check on both the static mesh and the skeletal mesh.

avatar image alperenakyuz Oct 16 '14 at 06:36 PM

Ok, what you're trying to achieve is possible and you seem to do it the correct way. What is the shape of your cart? Does it have turning wheels etc?

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

2 answers: sort voted first

The cart has wheels but at the moment they dont turn. So the whole thing scrapes along behind the animal. Except it does it flaps around wildly.

more ▼

answered Oct 16 '14 at 06:44 PM

avatar image

w_jones
136 5 11 18

avatar image alperenakyuz Oct 16 '14 at 06:50 PM

Ok, I'll try to do it with the third person blueprint. Not exactly an animal but should be the same principle. I'll let you know if I run into the same issue and can come up with a solution.

avatar image alperenakyuz Oct 16 '14 at 07:07 PM

Ok, I got exactly the same issue. The problem is that the root is at the same location with the skeletal mesh, so the rotation of the actor swerves the cart around.

avatar image w_jones Oct 16 '14 at 09:59 PM

The static mesh and the root mesh (skeletal mesh) dont share the same root and I have moved the static mesh far enough away from the skeletal mesh so they dont touch. The cart flips on one location to another in a single frame some times up in the air some times below the ground. It moves so fast its not what you would call animated. It just pings from one random position to the next. also if I turn on similate in the blue print the cart simpy falls straight down ....

avatar image alperenakyuz Oct 16 '14 at 10:16 PM

I see. Maybe it's jerking around because there is a single constraint acting as the joint. It may behave correctly if you use a bunch of constraints, similar to this guy does with chains: http://www.youtube.com/watch?v=hmN4ONIc2z

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

Sorry for the delay in getting back to you, this is solved and my horse and cab are now moving together beautifully.

The problem was that the horse was "inside" the mesh for the cab, so it was bouncing about to "get free".

more ▼

answered Mar 04 '15 at 09:00 PM

avatar image

w_jones
136 5 11 18

avatar image Deamonpog Jul 21 '17 at 12:24 PM

Please could you give some info on how you did it?

(comments are locked)
10|2000 characters needed characters left
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