Skip to content

Proof of concept wrapper to allow using Unity Physics directly with Game Objects (without ECS).

Notifications You must be signed in to change notification settings

IronWarrior/UnityPhysics-GameObjects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository demonstrates how to directly interact with Unity Physics without using Unity's Entity Component System (ECS)†.

2021-12-05.12-06-13.mp4

Unity Physics is a deterministic‡ and stateless physics engine by Unity Technologies. You can read more about it here. Although it comes packaged with prebuilt components for Unity's entity component system, the core engine is decoupled from ECS. Determinism and statelessness are very useful for networking, where consistency in physics between server and client is important.

🚨 This project is a very minimal proof of concept; no thought has been put into API design, completeness or performance.

Unity Physics does depend on the Entity struct itself from ECS.

Unity Physics is described as "deterministic", but I assume this is restricted to determinism across a single platform due to inconsistencies between some floating point arithmetic between platforms (e.g. ARM vs x86).

About

Proof of concept wrapper to allow using Unity Physics directly with Game Objects (without ECS).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages