-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
48 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Collisions | ||
## Collision detections | ||
> Collisions are calculate only when a part is in movement. | ||
### Pre-detection | ||
For collisions, every individual object contain hitBox (and multiple hitbox for big object like walls, So they can be divided by rooms) | ||
For detect potential collisions, we use Box/Box collisions (inspired by [Rectangle/Rectangle](http://www.jeffreythompson.org/collision-detection/rect-rect.php)) | ||
|
||
### Final collisions detections | ||
When Two hitbox are collided, we calculate true collisions with Model/Model collisions (inspired by [Polygone/Polygone](http://www.jeffreythompson.org/collision-detection/poly-poly.php)) | ||
|
||
## Bounce | ||
If a collision was detected, move is canceled and new position target are calculated from the movement of two model. | ||
|
||
### Vertex direction calculate | ||
We calculate the angle and the force of collision with the move vector of the vertex and calcul the angle with le différence beetween the face collided's normal and vertex vector <br> | ||
Bounce of surface can be calculate from angle and surface material's bounce value.<br> | ||
[calcul of force write here later] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
- Menu | ||
- Menu > Play Warning | ||
- Menu > Credits | ||
- Menu > Settings | ||
- Settings > Player Rotation Sensibility (not for VR) | ||
- Settings > Player Move Sensibility (with a maximum) | ||
- Menu > Github Link | ||
- Gameplay > Tasks | ||
- Gameplay > Doors | ||
- Gameplay > Vents | ||
- Gameplay > Sabotages | ||
- Gameplay > Endurance | ||
- Gameplay > Collisions | ||
- Expression Engine > Detector | ||
- Expression Engine > Animations | ||
- Expression Engine > Animations Transitions | ||
- Online | ||
- Online > Websocket Protocol | ||
- Online > Public Server | ||
- Online > Self Hosted Server | ||
- Online > API | ||
- Map > Clean "Skeld" Map | ||
- Map > Set Lights | ||
- Map > Set HitBox (ref to [Collisions](NOTE.md#collisions)) | ||
- Gameplay > Support Full-Body Tracking | ||
- Gameplay > Support Eye Tracking | ||
- Gameplay > Support Immersive Collisions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters