Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
SGDE
Physics
PhysicsBaby
AddVelocity
SGDE.Physics.PhysicsBaby.AddVelocity C# (CSharp) Method
PhysicsBaby Class Documentation
Mostra file
Open project: sgdc/sgdc-old
AddVelocity()
public
method
Add velocity to the PhysicsBaby's velocity.
public
AddVelocity
(
Vector2
velocity
) :
void
velocity
Vector2
The delta velocity to add to the current velocity.
return
void
public void AddVelocity(Vector2 velocity) { mVelocity += velocity; }
PhysicsBaby
AddBounce
AddCollisionUnit
AddForce
AddVelocity
GetForces
GetVelocity
IsStatic
PhysicsBaby
SetForces
SetStatic
SetVelocity
Update