# CLuaLocomotion:SetGravity

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

```lua
CLuaLocomotion:SetGravity( number gravity = 1000 )
```

## Açıklama

Yürüme motorunun yer çekimini ayarlar.

> **NOT:** 0 veya daha düşük değerlerde, hatta daha düşük pozitif değerlerde, nextbot yanlara doğru sürüklenmeye başlayacaktır; bunu engellemek için [CLuaLocomotion:SetVelocity](https://gmod.tr/wiki/CLuaLocomotion:SetVelocity) kullanın.

## Argümanlar

1. [number](https://gmod.tr/wiki/number) **gravity** = 1000: Ayarlanacak yeni yer çekimi değeri.

- [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/CLuaLocomotion:SetGravity
