Skip to content

Commit

Permalink
Don't make default physics entity high friction
Browse files Browse the repository at this point in the history
  • Loading branch information
StewStrong committed Aug 20, 2023
1 parent c9e06ae commit 89c9640
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ class PhysicsEntityCreatorItem(
val entityPos = ctx.clickLocation.toJOML().add(offset)
val transform = Companion.create(entityPos, Vector3d())
val physicsEntityData = VSPhysicsEntity.createBasicSphereData(shipId, transform, sphereRadius)
physicsEntityData.dynamicFrictionCoefficient = 1.0
physicsEntityData.staticFrictionCoefficient = 1.0
physicsEntityData.restitutionCoefficient = 0.0
entity.setPhysicsEntityData(physicsEntityData)
entity.setPos(entityPos.x, entityPos.y, entityPos.z)
level.addFreshEntity(entity)
Expand Down

0 comments on commit 89c9640

Please sign in to comment.