misc UI stuff, gamesession additions, limbs don't have individual health anymore, background music
This commit is contained in:
@@ -54,7 +54,7 @@ namespace Subsurface.Items.Components
|
||||
{
|
||||
Update(deltaTime, cam);
|
||||
}
|
||||
|
||||
|
||||
public override void Update(float deltaTime, Camera cam)
|
||||
{
|
||||
if (!item.body.Enabled) return;
|
||||
@@ -68,11 +68,11 @@ namespace Subsurface.Items.Components
|
||||
|
||||
AnimController ac = picker.animController;
|
||||
|
||||
ac.HoldItem(deltaTime, cam, item, handlePos, new Vector2(throwPos, 0.0f), Vector2.Zero, holdAngle);
|
||||
ac.HoldItem(deltaTime, cam, item, handlePos, new Vector2(throwPos, 0.0f), aimPos, holdAngle);
|
||||
|
||||
if (!throwing) return;
|
||||
|
||||
throwPos +=0.1f;
|
||||
throwPos += deltaTime*5.0f;
|
||||
|
||||
Vector2 throwVector = ConvertUnits.ToSimUnits(picker.CursorPosition) - item.body.Position;
|
||||
throwVector = Vector2.Normalize(throwVector);
|
||||
|
||||
Reference in New Issue
Block a user