Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/katagaki/diceydice

Sample app using SceneKit to draw dice.
https://github.com/katagaki/diceydice

dice ios scenekit swift swiftui

Last synced: 5 days ago
JSON representation

Sample app using SceneKit to draw dice.

Awesome Lists containing this project

README

        

# DiceyDice

A simple sample app that uses SceneKit to draw and throw dice.

**Download: [App Store](https://apps.apple.com/app/id6464077724)**

## Dice Model Specifications

Because the dice model is a model purchased from a store, I am unable to include it in this repository.
However, you can find or create your own model using the specifications as follows:

**Bounding Box**
- Width: 2.454
- Height: 2.463
- Depth: 2.457
- Scale: 0.25, 0.25, 0.25

**Physics Body**
- Mass: 0.5
- Friction: 0.8
- Restitution: 0.8
- Rolling friction: 0.5
- Damping: 0.15
- Angular damping: 0.6
- Charge: 0.2
- Center of Mass: 0.31, 0.304, -0.314
- Collision Detection: Threshold = 0.45
- Resting: ☑️ Allows resting

Ensure that your dice model is a box containing 6 sides, and has a model that reflects a typical 6-sided die's dots.