-
-
Notifications
You must be signed in to change notification settings - Fork 36.1k
Open
Labels
Description
Between the physics engines already having addons these properties are supported in common
- Mass (exposed in all)
- Restitution (exposed in all but Ammo)
- Friction
- Linear damping
- Angular damping
Atleast friction should additionally be suported
With just this the signature can be addMesh(mesh, mass, restitution, friction)
Adding more properties would make this pretty unmanagable and would force each impl to support the same ones (which may not be wanted in the future), the userData.physics should be set (when supplying params manually) and read (if not supplied or for other properies)