I ragdoll the player character after a spear hits him .
now I want to attach him to that spear.
I tried to do that but he backs to animation
he is attached to that spear and follows that until the spear stops or hits a wall but in animation state not ragdoll
any idea?
maybe ATTACH COMPONENT TO ACTOR(or comp) could help you
if it doesnât work, you can consider to write a function using Set Socket Location and exec it every tick
good luck!
if u want to stop anim playing, just follow these step:
get mesh-set anim instance(null) ăin bp or c++ă
get mesh-set simulate physics(true) [significant]
donât forget to set collision type to block all or sth else
Hi.
now my character is in T pose after attach.
have you tried it yourself?
character is attached and follows spear correctly but ignores physics simulation. I donât know why.
and even if I set its physics after attach it ignores attach and falls.
Physics Constraint Actor or Component can be used to attach two actors or components together from any bone. Chances are, if you stumbled upon this question, this is the answer youâre looking for even though it doesnât really answer the question.