⚲
Class:
Entity
Lua
C++
Edit
Entity::SetDamping
This method sets a damping factor to model resistance.
Syntax
void
SetDamping
(const float lineardamping, const float 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.