Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/devedse/LD54
Browse files Browse the repository at this point in the history
  • Loading branch information
Sparkleypie committed Oct 2, 2023
2 parents c00cb85 + a33efae commit 48dd784
Show file tree
Hide file tree
Showing 11 changed files with 583 additions and 27 deletions.
124 changes: 124 additions & 0 deletions UnityGame/Assets/Materials/Textures/Buttons/Place-in-middle.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

124 changes: 124 additions & 0 deletions UnityGame/Assets/Materials/Textures/Buttons/Place-on-front.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

124 changes: 124 additions & 0 deletions UnityGame/Assets/Materials/Textures/Buttons/Place-on-rear.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -64,15 +64,15 @@ void FixedUpdate()

if (btn_0_pressed)
{
rb.AddTorque(new Vector3(0, rotatoNu, 0), ForceMode.VelocityChange);
rb.AddTorque(new Vector3(0, -rotatoNu, 0), ForceMode.VelocityChange);
}
if (btn_1_pressed)
{
rb.AddForce(transform.forward * (SpeedModifier * baseSpeed), ForceMode.VelocityChange);
}
if (btn_2_pressed)
{
rb.AddTorque(new Vector3(0, -rotatoNu, 0), ForceMode.VelocityChange);
rb.AddTorque(new Vector3(0, rotatoNu, 0), ForceMode.VelocityChange);
}

//Fix always upright ofzo
Expand Down

0 comments on commit 48dd784

Please sign in to comment.