Av3boy / Av3boy/SharpEngine

Physics

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
physics
Dominant language
C#
Stars
6
Forks
0
Avg merge
1h 1m
Merged PRs (30d)
2

Description

# Physics

## Gravity simulation
GameObjects affected by the gravity simulation will be drawn towards the center of the gravity (3D point) by a given acceleration.
GameObjects should have a mass property and a maximum velocity calculated.

https://www.omnicalculator.com/physics/gravitational-force

### Rigid bodies

Rigid bodies should not be allowed to pass other colliders

## Colliders
When a collider enters a given area, the collision trigger is invoked.

#103 Spatial hashing can be used with collider optimization.

### 3D colliders
Mesh collider (Convex hull)

https://en.wikipedia.org/wiki/Minimum_bounding_box_algorithms

### 2D colliders
Plane or convex hull.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.