I’m wondering if there is something broken in the Lerpz tutorial or if it’s something that I’m doing wrong. If you beat the Cooper robot guard he is supposed to fall over and die with an explosion. Mine Doesn’t do that because the prefab for the dead robot does not exist by that name. See code below.
// Instantiate replacement dead character model
var deadModel = Instantiate(deadModelPrefab, transform.position, transform.rotation);
CopyTransformsRecurse(transform, deadModel);
It’s looking for “deadModelPrefab” but the only prefab I can see in the project directory is one called “CooperDead.” When I try to replace the name of the instance in the code above I get an error saying unknown identifier ‘CooperDead’?