Skip to content

Commit

Permalink
put the size back to size/2
Browse files Browse the repository at this point in the history
  • Loading branch information
InvalidArgument3 committed Jun 18, 2024
1 parent 2698869 commit 5fc1de5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,7 @@ public bool DoDamage(float damage, MyStringHash damageSource, bool sync, MyHitIn
private void CreatePhysics()
{
float mass = 10000 * Size * Size * Size;
//float radius = Size / 2; // Assuming Size represents the diameter
float radius = Size; // Assuming Size represents the diameter
float radius = Size / 2; // Assuming Size represents the diameter

PhysicsSettings settings = MyAPIGateway.Physics.CreateSettingsForPhysics(
this,
Expand Down

0 comments on commit 5fc1de5

Please sign in to comment.