# constraint.NoCollide

- **Ortam:** Sunucu
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/constraint.NoCollide
- **Çeviri tarihi:** 2025-09-08

```lua
Entity constraint.NoCollide( Entity ent1, Entity ent2, number bone1, number bone2, boolean disableOnRemove = false )
```

## Açıklama

Bir "no-collide" (çarpışmazlık) "kısıtlaması" oluşturur. İki entity arasındaki çarpışmayı devre dışı bırakır.

> **NOT:** Oyuncularla çalışmaz.

## Argümanlar

1. [Entity](https://gmod.tr/wiki/Entity) **ent1**: İlk entity.
2. [Entity](https://gmod.tr/wiki/Entity) **ent2**: İkinci entity.
3. [number](https://gmod.tr/wiki/number) **bone1**: [PhysObj](https://gmod.tr/wiki/PhysObj) numarası, ilk entity'nin kısıtlanacağı kemik. (Ragdoll olmayanlar için 0). Bakınız: [Entity:TranslateBoneToPhysBone](https://gmod.tr/wiki/Entity:TranslateBoneToPhysBone).
4. [number](https://gmod.tr/wiki/number) **bone2**: [PhysObj](https://gmod.tr/wiki/PhysObj) numarası, ikinci entity'nin kısıtlanacağı kemik. (Ragdoll olmayanlar için 0). Bakınız: [Entity:TranslateBoneToPhysBone](https://gmod.tr/wiki/Entity:TranslateBoneToPhysBone).
5. [boolean](https://gmod.tr/wiki/boolean) **disableOnRemove** = false: Eğer ayarlanırsa, kısıtlama kaldırıldığında çarpışmazlık durumu tersine çevrilir.

## Döndürülenler

1. [Entity](https://gmod.tr/wiki/Entity): Oluşturulan kısıtlama. ([logic_collision_pair](https://developer.valvesoftware.com/wiki/Logic_collision_pair)) Eğer kısıtlama oluşturulamazsa `false` döndürür.

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/constraint.NoCollide
