Disabled range check on editor socket attaching

This commit is contained in:
Pascal Serrarens 2025-09-01 15:13:11 +02:00
parent a0d2a00a3a
commit dc185b4f22

View File

@ -84,7 +84,7 @@ namespace Passer.Humanoid {
GameObject obj = Instantiate(prefab, socket.transform.position, socket.transform.rotation); GameObject obj = Instantiate(prefab, socket.transform.position, socket.transform.rotation);
obj.name = prefab.name; // Remove the (Clone) obj.name = prefab.name; // Remove the (Clone)
socket.Attach(obj.transform); socket.Attach(obj.transform, false);
if (socket.attachedTransform == null) if (socket.attachedTransform == null)
Debug.LogWarning("Could not attach transform"); Debug.LogWarning("Could not attach transform");
else { else {