|
Post by betamax on Jan 30, 2018 15:38:41 GMT
The ThirdPersonShooter chracter is not being removed upon death. When the screen reloads, I can see a body on the ground for every death that happens. Is there a way I can destroy the body up death and when the screen reloads? Thanks!
|
|
|
Post by Invector on Jan 30, 2018 15:56:49 GMT
GameController > Destroy Body After Dead ;)
|
|
mik56
Junior vMember
Posts: 39
|
Post by mik56 on Sept 8, 2018 21:23:23 GMT
I have the same problem, I checked remove components after die and I still have a body on the ground when I die and it restarts the scene.
|
|
|
Post by Invector on Sept 9, 2018 11:17:14 GMT
Hmm I just tested on 2018.2 (which is usually the version that presents new bugs) and it's working fine with our without spawnPoint and player prefab assigned on the game controller
|
|
mik56
Junior vMember
Posts: 39
|
Post by mik56 on Sept 9, 2018 17:51:25 GMT
I'm using 2018.2, and Shooter_v1.2.2. It worked fine in previous versions. Is there an easy way to remove the player with code.
|
|
|
Post by uberwiggett on Sept 10, 2018 9:39:49 GMT
hey guys, don't forget the game controller object. Set it up to respawn your player and ensure you check the "destroy body after death" box to remove the player controller after dying. Also if you want your npcs bodies to disappear you will need to add a "destroy object" script that is triggered on death. edit: this is different to the "remove components after death" checkbox on the player controller.
|
|