PhysObj:RotateAroundAxis
Örnek
Bu fonksiyonun Angle:RotateAroundAxis ile aynı olduğunu gösterir.
local phys = Entity(1):GetEyeTrace().Entity:GetPhysicsObject() -- Fizik nesnemiz
print( phys:RotateAroundAxis( Vector( 1, 0, 0 ), 20 ) )
local a = phys:GetAngles()
a:RotateAroundAxis( Vector( 1, 0, 0 ), 20 )
print( a )
Çıktı: Birebir aynı iki açı
-27.179 133.246 -23.236
-27.179 133.246 -23.236
Tüm sunucular · GmodTR Launcher · Rehber · GMod Wiki · GmodTR nedir? · Sunucu ekle · Discord