- Home /
How do I make enemies ragdoll after being shot with a Raycast in VR?
Very new to Unity and its VR capabilities but i will try to explain as best I can, and I will be very responsive in giving more information or screenshots if required.
The Problem: I am currently using VRIF by BeardedNinjaGames for the core framework of this VR project. I want to know how I can shoot an enemy with a raycast and make them ragdoll from their current anim state. So far, I know how to shoot the raycast but thats basically it haha, when I go into the project, the gun shoots a raycast and works, but when I shoot an enemy nothing happens (obviously no script yet), what would the script look like to set it where the enemy is set to ragdoll after collision with the raycast?
I am going to provide the shooting component from the VRIF so you can see how the gun shoots basically, I am not sure what else is needed, but I will be more than happy to provide more pictures!

Your answer
Follow this Question
Related Questions
How to implement Mob movement / death ? 1 Answer
Ragdoll Death Script 1 Answer
Animation of the death (2D Game) 0 Answers
Implimenting RagDoll physics with Spine Skeleton? 0 Answers
How to make is kinematic false for all children of a gameobject? 1 Answer