I wanted to start utilizing the physics control component and also wanted a hit reaction for some characters, So I went to the example content and duplicated the hit reaction actor and its base parent and then reparent them both from the Actor to the character.
I made sure to use the exact mesh and physics asset from the original and fix up other bits
But NOTHING works anymore and I have exhausted all options trying to figure out why.
It should be working as everything is identical…
From A print string, I can see each bone that is hit but it just refuses to react
so Anyone know why?
duplicated character on the right .
Original

duplicate

1 Like
Can anyone Repeat My steps And see if I missed anything, It only takes a moment.
Warning this will break all other physics control examples so ONLY DO IT ON A SACRIFICIAL PROJECT
-
Open the BP_PhysicsControlCharacter And reparent it to character.
it should then look like this
-
copy the Skeletal mesh component that was being used And past it to the New Character mesh so they are using the same setup and physics asset.


3. then delete the previous skel mesh so Only the character mesh is the only one . and link up the character mesh reference to where the previous mesh was used that are now causing errors.
4: Now Go in to the CHILD ACTOR BP_PhysicsControlHitReact AND DO THE SAME as before and link up the character mesh refs to where the old mesh was connected
5: then set the animation BP back to the one the previous mesh was using on the character mesh.

So Now I have everything the same as before Only The hit reactions DO NOT WORK ANYMORE 
Does anyone know what I missed?
I have actually done It , But the hit reactions do Not work correctly . Its like it does not get the impluse or the vector and just twitches , when shot or ragdolls when dead, Only The RAGDOLL collisions seem to work Like pushing objects against the character or in VR pushing his body like the other world collisions do In the examples
Here is the actual collision working with another actor , these are on characters
Also I swapped the screen trace for the hits from the PLAYER CAMERA FORWARD VECTOR in the examples
To a trace from an actual weapons forward vector here!
Update!
I have finally solved the Hit reaction Issue after extensive testing.
Turned out the mesh is not being flagged as simulating from my understanding As removing this branch Allowed the hit to proceed.
Sill very strange as this worked on the original example but prevents it from working on a character.
Anyway, I will leave this here for others who might face the same issue to find and benefit from my research.
4 Likes
trying to do the same right now. Have a github? Don’t understand why they give us examples and then make them impossible to export…
1 Like