Finalized for game jam submission
Lots of bugfixes New tasks
This commit is contained in:
@@ -16,6 +16,7 @@ public class DestructibleObject : MonoBehaviour
|
||||
{
|
||||
gameObject.GetComponent<Rigidbody>().isKinematic = true;
|
||||
gameObject.transform.position = originalPosition;
|
||||
gameObject.transform.parent = null;
|
||||
gameObject.GetComponent<Rigidbody>().isKinematic = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user