Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Nez
ArcadeRigidbody
setGlue
Nez.ArcadeRigidbody.setGlue C# (CSharp) Méthode
ArcadeRigidbody Class Documentation
Afficher le fichier
Open project: prime31/Nez
setGlue()
public
méthode
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.
Résultat
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