Skip to content

Commit

Permalink
Version bump for CKAN & Spacedock
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxgurugamer committed Jul 5, 2021
1 parent 32d6ebf commit 223e566
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
ChangeLog

0.5.0.8
Test build changing part.AddForceAtPosition to part.Rigidbody.AddForceAtPosition, needed for Principia

0.5.0.9
Version bump for CKAN & Spacedock

0.5.0.7
Fixed partIcon in files to be universalBalloonHP
Expand Down
2 changes: 1 addition & 1 deletion GameData/KerBalloons/KerBalloons.version
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"MAJOR": 0,
"MINOR": 5,
"PATCH": 0,
"BUILD": 6
"BUILD": 7
},
"KSP_VERSION": {
"MAJOR": 1,
Expand Down
2 changes: 1 addition & 1 deletion KerBalloons.version
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"MAJOR": 0,
"MINOR": 5,
"PATCH": 0,
"BUILD": 8
"BUILD": 9
},
"KSP_VERSION": {
"MAJOR": 1,
Expand Down
2 changes: 1 addition & 1 deletion Kerballoons/AssemblyVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

using System.Reflection;

[assembly: AssemblyVersion("0.5.0.6")]
[assembly: AssemblyVersion("0.5.0.7")]
6 changes: 3 additions & 3 deletions Kerballoons/ModuleKerBalloon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ public void FixedUpdate()
if (isInflated)
{
float lift = BalloonProperties.getLift(this);
this.part.Rigidbody.AddForceAtPosition(vessel.upAxis * lift, liftPointObject.transform.position);
this.part.AddForceAtPosition(vessel.upAxis * lift, liftPointObject.transform.position);
Vector3 scale = new Vector3(BalloonProperties.getScale(this), BalloonProperties.getScale(this), BalloonProperties.getScale(this));
balloonObject.transform.localScale = scale;

Expand All @@ -447,7 +447,7 @@ public void FixedUpdate()
float progress = scaleInc / BalloonProperties.getScale(this);

float lift = BalloonProperties.getLift(this) * progress;
this.part.Rigidbody.AddForceAtPosition(vessel.upAxis * lift, liftPointObject.transform.position);
this.part.AddForceAtPosition(vessel.upAxis * lift, liftPointObject.transform.position);

ropeObject.transform.localScale = new Vector3(1, 1, progress);
balloonObject.transform.position = balloonPointObject.transform.position;
Expand Down Expand Up @@ -477,7 +477,7 @@ public void FixedUpdate()
float progress = scaleInc / BalloonProperties.getScale(this);

float lift = BalloonProperties.getLift(this) * progress;
this.part.Rigidbody.AddForceAtPosition(vessel.upAxis * lift, liftPointObject.transform.position);
this.part.AddForceAtPosition(vessel.upAxis * lift, liftPointObject.transform.position);


ropeObject.transform.rotation = Quaternion.Slerp(ropeObject.transform.rotation, Quaternion.LookRotation(vessel.upAxis, vessel.upAxis), BalloonProperties.getLift(this) / 10);
Expand Down

0 comments on commit 223e566

Please sign in to comment.