Nadav-01 / Physics_Game

School project based on 2d physics. Written in Java. Pretty crappy, nothing to see here.
0 stars 0 forks source link

Electricity #17

Open Nadav-01 opened 5 years ago

Nadav-01 commented 5 years ago

Make charge field in items.

With electricity on, opposite charges attract, similar charges are pushed back, and when two items touch (collide) an exchange in charge is performed, proportional to their mass.