Skip to content

Commit 0c02ac7

Browse files
committed
fix: removed obsolete rigidbody properties
1 parent 6052382 commit 0c02ac7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Runtime/Core/Watcher/WatcherStringMapper.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,6 @@ private static void MapRigidbody(object obj, StringBuilder stringBuilder)
315315
stringBuilder.Append("Mass: ").Append(rigidbody.mass).AppendLine();
316316
stringBuilder.Append("Is Kinematic: ").Append(rigidbody.isKinematic).AppendLine();
317317
stringBuilder.Append("Use Gravity: ").Append(rigidbody.useGravity).AppendLine();
318-
stringBuilder.Append("Drag: ").Append(rigidbody.linearDamping).AppendLine();
319-
stringBuilder.Append("Angular Drag: ").Append(rigidbody.angularDamping).AppendLine();
320318
stringBuilder.Append("Angular Velocity: ").Append(rigidbody.angularVelocity).AppendLine();
321319
}
322320

@@ -335,8 +333,6 @@ private static void MapRigidbody2D(object obj, StringBuilder stringBuilder)
335333
stringBuilder.Append("Mass: ").Append(rigidbody.mass).AppendLine();
336334
stringBuilder.Append("Is Kinematic: ").Append(rigidbody.bodyType == RigidbodyType2D.Kinematic).AppendLine();
337335
stringBuilder.Append("Gravity Scale: ").Append(rigidbody.gravityScale).AppendLine();
338-
stringBuilder.Append("Drag: ").Append(rigidbody.linearDamping).AppendLine();
339-
stringBuilder.Append("Angular Drag: ").Append(rigidbody.angularDamping).AppendLine();
340336
stringBuilder.Append("Angular Velocity: ").Append(rigidbody.angularVelocity).AppendLine();
341337
}
342338

0 commit comments

Comments
 (0)