All pastes #630070 Raw Edit

Mine

public text v1 · immutable
·published 2007-07-22 21:43 UTC
rendered paste body
		Vec2 vec = Vec2.Zero;
                if (intellect.IsControlKeyPressed(ControlKey.Jetpack))
                {
                    Vec3 vel = mainBody.LinearVelocity;
                    vel.Z = vel.Z + 0.5f;
                    mainBody.LinearVelocity = vel;
                    Position += new Vec3(0, 0, .05f);
                }
                else
                {
                    Hover(2.3f);
                }


		
		Local Vec:Tvec2 = Tvec2.Zero
		If Intellect.Iscontrolkeypressed(Controlkey.Jetpack) Then
			Local Vel:Tvec3=Self.Mainbody.LinearVelocity()
			Vel.Z=Vel.Z + 0.5
			Self.Mainbody.Setlinearvelocity(Vel)
			Self.Position = Self.Position.Addvec3(0,0,0.05)
		Else
			Self.Hover(2.3)
		Endif