Nez.ArcadeRigidbody.addImpulse C# (CSharp) Method

addImpulse() public method

add an instant force impulse to the rigidbody using its mass. force is an acceleration in pixels per second per second. The force is multiplied by 100000 to make the values more reasonable to use.
public addImpulse ( Vector2 force ) : void
force Vector2 Force.
return void
		public void addImpulse( Vector2 force )
		{
			if( !isImmovable )
				velocity += force * 100000 * ( _inverseMass * Time.deltaTime * Time.deltaTime );
		}