Author Topic: Corpses  (Read 746 times)

Is there anyway to interact with a corpse? I made a script so if they die their corpse doesn't get removed unless they die again or they leave the server.

Store the player's object when they die, that will be their corpse.

If you are making a bot to act as corpse, store that obj.

Well I already have it stored, I mean using a raycast to interact with it. I have been trying to use a raycast, but it doesn't seem to detect it.

Well I already have it stored, I mean using a raycast to interact with it. I have been trying to use a raycast, but it doesn't seem to detect it.

Make an AI player instead.

Well I already have it stored, I mean using a raycast to interact with it. I have been trying to use a raycast, but it doesn't seem to detect it.

What typemask are you using in your raycast?

What typemask are you using in your raycast?
$TypeMasks::CorpseObjectType or something like that