Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 551 Bytes

File metadata and controls

11 lines (6 loc) · 551 Bytes

Unity Physics Collision Events Example

This project is a sample demonstrating collision detection using the ScheduleParallel() method of Unity Physics, which was introduced in Unity 6.5.

In this sample, ICollisionEventsJob is used to implement collision detection between a large number of cubes, and ScheduleParallel() is used to execute the task in parallel across multiple threads. Cubes that are in contact are displayed in red, while those that are not are displayed in white.

System requirements

  • Unity 6.5