mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-22 09:01:57 -05:00
Page:
Physics
Pages
Analysing performance (Webclient)
Classic sounds
Dig animation details
Directional blocks and auto rotate
Home
Launcher documentation WIP
MC Fire animation
Minecraft Classic lava animation algorithm
Minecraft Classic map generation algorithm
Physics
Position of the player's arm in 1st person, from Survival Test
Seeing why the game is frozen
No results
10
Physics
Unkie edited this page 2016-05-01 10:27:59 +10:00
Table of Contents
Information
Reminder: This is not a tutorial about how to write a physics engine. This is just to detail how ClassicalSharp's physics works, how it differs from classicube, etc.
These are some useful pages from minecraft wiki:
Special cases
Ice sliding
Proper ice sliding into air can be achieved by changing the check from BlockUnderFeet == Block.Ice
to:
BoundingBox bb = CollisionBounds;
bb.Min.Y -= 0.01f; bb.Max.Y = bb.Min.Y;
if( TouchesAny( bb, b => b == (byte)Block.Ice )
Water bobbing
Image | Description |
---|---|
ClassiCube The client will bob up and down between the red circles. ClassicalSharp Is not 100% same. |
Lava bobbing
Image | Description |
---|---|
ClassiCube The client will bob up and down between the green circles. ClassicalSharp Is not 100% same. |
Triple block jumps
(insert screenshot)
ClassiCube:
ClassicalSharp:
Liquid 'climbing'
(insert screenshot)
ClassiCube:
ClassicalSharp:
Liquid 'bouncing/bobbing'
(insert screenshot)
ClassiCube:
ClassicalSharp:
Wiki & Documentation
Users (WIP)
- Frequently Asked Questions
- Setting up a MC Classic Server
Developers
- MC Classic Lava Animation
- Dig Animation Detail
- MC Classic Map Generation
- Physics
- Position of the player's arm
- Directional Blocks & Auto Rotate