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.

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?

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.

Some more screenshots.

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.

Then create a Float Track in the Timeline.

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

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.

If you have any questions please feel free to ask.

Thanks, TJ

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