# CreatePhysCollidesFromModel

- **Ortam:** İstemci, Sunucu
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/Global.CreatePhysCollidesFromModel
- **Çeviri tarihi:** 2025-09-08

```lua
table CreatePhysCollidesFromModel( string modelName )
```

## Açıklama

Modelin sahip olduğu her fizik nesnesi için [PhysCollide](https://gmod.tr/wiki/PhysCollide) nesneleri oluşturur. Bu fonksiyonla kullanılmadan önce modelin [util.PrecacheModel](https://gmod.tr/wiki/util.PrecacheModel) ile önbelleğe alınması (precached) gerekir.

## Argümanlar

1. [string](https://gmod.tr/wiki/string) **modelName**: Çarpışma nesnelerinin alınacağı modelin yolu.

## Döndürülen Değer

1. sıralı [table](https://gmod.tr/wiki/table)<[PhysCollide](https://gmod.tr/wiki/PhysCollide)>: [PhysCollide](https://gmod.tr/wiki/PhysCollide) nesnelerinden oluşan bir tablo. Girdi sayısı, modelin fizik nesnesi sayısıyla eşleşecektir. Ayrıca bakınız: [Entity:GetPhysicsObjectCount](https://gmod.tr/wiki/Entity:GetPhysicsObjectCount). Model mevcut değilse veya önbelleğe alınmamışsa (precached) hiçbir değer döndürmez.

- [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/Global.CreatePhysCollidesFromModel
