Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Nez
ArcadeRigidbody
setGlue
Nez.ArcadeRigidbody.setGlue C# (CSharp) Метод
Документация по классу ArcadeRigidbody
Показать файл
Открыть проект
setGlue()
публичный
Метод
0 - 9 range. When a collision occurs and it has risidual motion along the surface of collision if its square magnitude is less than glue friction will be set to the maximum for the collision resolution.
public
setGlue
(
float
value
) :
ArcadeRigidbody
value
float
Value.
Результат
ArcadeRigidbody
public ArcadeRigidbody setGlue( float value ) { _glue = Mathf.clamp( value, 0, 10 ); return this; }
ArcadeRigidbody
ArcadeRigidbody
IUpdatable
addImpulse
calculateResponseVelocity
onAddedToEntity
processCollision
processOverlap
setElasticity
setFriction
setGlue
setMass
setVelocity