Skip to content

Commit 4e3ecba

Browse files
committed
Improve "Capacity" scene.
1 parent 55a3633 commit 4e3ecba

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

LowLevel/Sandbox/Assets/Sandbox.unity

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -272,13 +272,8 @@ MonoBehaviour:
272272
ScenePath: Assets/Scenes/Benchmark/Barrel/Barrel.unity
273273
- Name: Capacity
274274
Category: Benchmarks
275-
Description: Benchmark the capacity of a large quantity of bodies, shapes and
276-
contacts, spawning until the simulation limit has been reached. This provides
277-
an approximate limit for a worse-case scenario with bodies and shapes all in
278-
contact with each other on the current device. The available threads has a
279-
huge impact on this limit. The debug rendering defaults to being turned off
280-
as the FPS is irrelevant and may result in the Sandbox UI becoming sluggish
281-
on some devices.
275+
Description: Benchmark a large quantity of bodies, shapes and contacts, spawning
276+
until the simulation limit has been reached.
282277
ScenePath: Assets/Scenes/Benchmark/Capacity/Capacity.unity
283278
- Name: Funnel
284279
Category: Benchmarks

LowLevel/Sandbox/Assets/Scenes/Benchmark/Capacity/Capacity.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
using UnityEngine.LowLevelPhysics2D;
44
using UnityEngine.UIElements;
55

6+
/// <summary>
7+
/// Benchmark a large quantity of bodies, shapes and contacts, spawning until the simulation limit has been reached.
8+
/// This provides an approximate limit for a worse-case scenario with bodies and shapes all in contact with each other on the current device.
9+
/// The available threads has a huge impact on this limit. The debug rendering defaults to being turned off as the FPS is irrelevant and may result in the Sandbox UI becoming sluggish on some devices.
10+
/// </summary>
611
public class Capacity : MonoBehaviour
712
{
813
private SandboxManager m_SandboxManager;

0 commit comments

Comments
 (0)