playMaker

Author Topic: raycast/raycast2 can't hit the ragdoll  (Read 13 times)

jackjack

  • Playmaker Newbie
  • *
  • Posts: 1
raycast/raycast2 can't hit the ragdoll
« on: Today at 08:07:04 AM »
Hi everyone, I’m having an issue with raycast/raycast2 in Playmaker and was hoping someone could help. When I use raycast to hit the colliders on a ragdoll, after the ragdoll has been animated, the rays extremely often pass right through it—even if I set the animation speed to 0. The legs have around a 50% penetration rate, while the upper body and head have a nearly 100% penetration rate. I even tried adding a custom collider to the head, but the ray still goes through it without registering a hit. What’s more, I used AI to write a script that allows switching between FixedUpdate and Update for this raycast Action, yet it still doesn’t work.
Does anyone know how to fix this? Has anyone encountered the same problem before?
Thanks a lot!