fix body:set_gravity_scale & fix docs

This commit is contained in:
MihailRis
2025-09-22 23:52:50 +03:00
parent e61e8a6147
commit 8b38d57966
4 changed files with 11 additions and 6 deletions
+2 -2
View File
@@ -86,9 +86,9 @@ body:get_size() -> vec3
body:set_size(size: vec3)
-- Returns the gravity multiplier
body:get_gravity_scale() -> vec3
body:get_gravity_scale() -> number
-- Sets the gravity multiplier
body:set_gravity_scale(scale: vec3)
body:set_gravity_scale(scale: number)
-- Returns the linear velocity attenuation multiplier (used to simulate air resistance and friction)
body:get_linear_damping() -> number