Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotnotswipez authored Aug 19, 2022
1 parent 830929d commit 6f5a8af
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# VerletPhysicsPlugin

This is just a little test plugin for Verlet physics integration in Vanilla minecraft. (Calculated server side.)

It doesnt have much functionality unless you like messing with shapes and constructions and all that.

Commands:
- /physics simulate - Stops/Resumes all simulations
- /physics mode - Puts you into "Simulation Mode", where you can make your own creations, etc.
- /physics save (name) - Saves a structure to be loaded.
- /physics load (name) (optional: scale) - Loads a saved structure.

# How to build a structure:
Make sure to be in physics mode first, then you can build your "physics structures" with physical blocks.

- Red concrete represents points
- Lime concrete represents sticks/connections between another point
- Yellow concrete represents a LOCKED point, meaning it will not be affected by physics/will be frozen in place.

# Here is an example structure of a cube:
![image](https://user-images.githubusercontent.com/13337586/185519221-60729c9e-5fbd-4205-be3d-c9bf7fd54a17.png)

Saving your structure is similar to how you would save something in worldedit, get a stick (Again, make sure you're in physics mode), left click
one corner to select your first point, right click to select your second point. Then run /physics save (whatever), in this case cube.

You can then load it via /physics load cube.

THING TO NOTE BECAUSE IM LAZY: THE FIRST POINT ALWAYS HAS TO BE LESS THAN THE SECOND POINT OR IT WONT SAVE. (Like the first points xyz needs to all be less than the second
points xyz)

# Help
If you are a physics person, PLEASE make the plugin better and contrubute to fix some of these issues. Im begging you.
Things that dont work at the moment and that I just cant figure out:
- Collision and responses between two points
- Collisions for the sticks
- Collisions between entities and points

0 comments on commit 6f5a8af

Please sign in to comment.