Creating Ragdolls Help

I re imported a back up I have but Doing that just kills the model

Because for this you need to use the new render component.

https://developer.playcanvas.com/en/user-manual/packs/components/render/

I tried that it also didn’t work

What didn’t work?

It wouldn’t let me put the model in the renderer

You need to use the asset with the render icon. In the example below it is the first one.

image

What Is Going On Here?
image

now model is undefined in ragdoll.js
Luckily for me I have a plan to use the old model assets for gameplay then switch it out for the new renderer when it ragdolls

Yes, because the model component is replaced with the render component. So model should be render. The script is written without the new components so you need to rewrite the whole scrip if you want to use the new components.

I got it semi working but the arms and head won’t move for animations or the ragdoll

As far as I know you can’t create a ragdoll if the model is controlled with animations, so make sure you don’t use them together.

Yeah I had to turn off the animation to get the ragdoll to work

but the head and arms still won’t work

Since the rig is bugged I’ve just settled for an explosion effect I may comeback to this topic in the future but for now I’m just gonna try to get everything else to work.

That’s fine. If you need support you have to make sure you share the correct link and information. Otherwise it is impossible to help you.