⚲
Class:
Entity
Lua
C++
Edit
Entity:SetDamping
This method sets a damping factor to model resistance.
Syntax
SetDamping
(number lineardamping, number angulardamping)
Parameter
Description
lineardamping
linear damping value, between 0 and 1
angulardamping
angular damping value, between 0 and 1
Copyright © 2024 Ultra Software.
All rights reserved.