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"

Move bone with body

If I have defined a collision body on physics assets of skeletal vehicle, I can move skeletal bones with Transform(modifi) bone on Animgraph blueprint. If I delete body of this bone in physics assets I can move bone.

I think that is not a problem with constrain between bodies because I put this free on all axis and only when I delete body from bone that I want to move, I can move it.

If I don't have a body on this bone this part of model don't have collision. For example a door from a vehicle that I want open.

Product Version: Not Selected
Tags:
more ▼

asked Jul 07 '14 at 08:48 AM in Bug Reports

avatar image

giro
16 1 2 4

avatar image TJ V ♦♦ STAFF Jul 08 '14 at 09:46 PM

Hi giro,

If I'm misunderstanding anything please correct me.

I believe you are talking about creating a Physics Asset? Then you are deleting the constraints and that causes the unconstrained areas to not have collision?

This is by design, when creating a physics asset the skeletal mesh should have some sort of Constraint on all of the appendages (or car doors if they are meant to fly open). You can find out more about Physics Assets here. https://docs.unrealengine.com/latest/INT/Engine/Physics/PhAT/UserGuide/index.html

To help me understand better could you post some screenshots of exactly what you are trying to do?

avatar image giro Jul 09 '14 at 08:52 AM

Hi ,

I put some screenshot with my configuration. My Pawn is a Vehicle. It is a Forklift model, and I want to move fork up and down.

Problem is that with same code in Animgraph blueprint, if I change fork body physic type from default to kinematic, in kinematic I can move bone, but not in default. But in kinematic forklift not move.

alt text alt text

avatar image giro Jul 09 '14 at 08:53 AM

Some more screenshots. alt text

avatar image TJ V ♦♦ STAFF Jul 10 '14 at 05:43 PM

Hi giro,

Setting the forks to Kinematic is correct, but perhaps there is an issue with the base vehicle movement. Probably the best way to make sure that the forklift is still drivable after you add the fork movement is to make sure that your Blueprint setup for the forklift is similar to the default Sedan in the Vehicle Template. Then add in the additional movement for the Forks. Check your Blueprint against the one used for the Sedan and then follow the steps below to add in the fork movement.

Start by creating a Button Press with a Timeline and set a custom float Variable in the vehicles EventGraph. alt text

Then create a Float Track in the Timeline. alt text

avatar image TJ V ♦♦ STAFF Jul 10 '14 at 05:43 PM

In the Vehicle Animation Event Graph add in a Cast to Vehicle. You will need to recreate the Lift Float here as well. alt text

Then in the AnimGraph add in the Fork Movement. (In place of Front Right Wheel Rotation & Front Left Wheel Rotation you would add your Fork bones. alt text

If you have any questions please feel free to ask.

Thanks, TJ

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

1 answer: sort voted first

Hi giro,

I hope the above commented answer helped solve your issue. Since we haven't heard back from you in a few days, we are marking this post as Resolved for tracking purposes. If you're still experiencing this issue, please feel free to post back here with additional information.

Thanks, TJ

more ▼

answered Jul 17 '14 at 01:23 PM

avatar image

TJ V ♦♦ STAFF
41k 1009 183 494

(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