Beta8397 / virtual_robot

A 2D robot simulator to help beginners learn Java programming for FTC Robotics
118 stars 182 forks source link

Integrated Game Elements and Dyn4j 2D Physics and Collision Engine #78

Closed jkenney2 closed 3 years ago

jkenney2 commented 3 years ago

Merged Game Elements enhancement from Daniel McDonald, then integrated Dyn4j engine to handle dynamics of robots and game elements, and to handle collisions. Use of the game elements is optional; to opt out, do this in the Config.java file:

GAME = new NoGame();

For individual robot configurations, the use of the physics engine to handle dynamics is optional. Purely kinematic control is still supported. But the combination of kinematic control and collision with game elements is problematic. For kinematic robot control, it is best to use NoGame.

jkenney2 commented 3 years ago

Contains many commits that were not kept. Will Resubmit with just the core commits.