Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Nez
ArcadeRigidbody
setGlue
Nez.ArcadeRigidbody.setGlue C# (CSharp) Method
ArcadeRigidbody Class Documentation
Exibir arquivo
Open project: prime31/Nez
setGlue()
public
method
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.
return
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