jeffvella/UnityNativeCollision
소개
SAT Collision in C# for Unity3D Burst Compiler
프로그래밍 언어 및 런타임측정된 스타 증가
- in 24h
- -1
- in 7 days
- -1
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalUnityNativeCollision
This project is an experimental C# implementation of polyhedron SAT collision and intersection for the Unity game engine. It's specifically designed to be compatible with Unity's Burst Compiler for performance.
Acknowledgments:
The math is ported to C# from the C++ BounceLite project by Irlan Robson (zLib License) and adapted for Unity's new Math library and Burst Compiler requirments: https://github.com/irlanrobson/bounce_lite
The SAT implementation is originally based on the 2013 GDC presentation by Dirk Gregorius and his forum posts about Valve's Rubikon physics engine:
- https://www.gdcvault.com/play/1017646/Physics-for-Game-Programmers-The
- https://www.gamedev.net/forums/topic/692141-collision-detection-why-gjk/?do=findComment&comment=5356490
- http://www.gamedev.net/topic/667499-3d-sat-problem/
Features:
- Generation of native half-edge mesh from Unity Meshes.
- Fast convex polyhedron face/edge boolean collision detection.
- Polyhedron intersection manifold generation (via Sutherland-Hodgman clipping)
- Burst compiled jobs for single and batch collision operations.
- Experimental bounding volume hierarchy.
- NativeBuffer collection able to run off stackalloc.

Note: Project was created with Unity 2019.2, older versions may not work.
Performance:

Contact Visualization:
View a fast version of the contact for physics calcluations. This mode a processes a minimal set of geometry, just enough to move colliding objects apart. Versus the full intersection mode, which needs to clip every face for visual/mesh creation purposes.
관련 프로젝트 살펴보기
불러오는 중…