Commit Graph

12 Commits

Author SHA1 Message Date
95bea199ed Ran rubocop autocorrect 2020-12-02 17:37:48 -06:00
aa30ff73d0 Rubocop autocorrect frozen string literal cop 2020-12-02 17:29:01 -06:00
016e8109de Gravity constant moved into constants.rb, camera can now report what it is looking at, entity has knowledge of camera now, AABB tree search can now use either BoundingBox or Ray colliders 2019-08-13 09:47:23 -05:00
2e69647ae3 Various tweaks 2019-02-26 18:43:42 -06:00
8ccd1506f3 Refactored Model to make faces first class objects for use in AABBTree, renamed BoundingBox.intersect to intersect? 2019-02-25 17:59:09 -06:00
0d7210b3f7 Fixed always adding a new node to AABBTree when updating a node. 2019-02-25 12:51:26 -06:00
97818c8a33 Collision stuff 2019-02-25 11:33:18 -06:00
d5a5ced955 Can now update AABBTree however something weird is happening where the tree grows for the same numbeer of objects... 2019-02-25 09:35:01 -06:00
5cf07ca620 Partially working AABB Tree! (needs much more work) 2019-02-24 21:51:04 -06:00
965b8d0c80 Refactored bounding box to use 2 vectors, stubbed PhysicsManager. 2019-02-24 15:05:54 -06:00
fc72f2bdc8 Implemented a first class BoundingBox, refactored to use bounding box. 2019-02-23 18:28:47 -06:00
7b903fbdb9 Refactored GameObject to Entity, replaced @x,@y,@z with @position, added @velocity vector to Entity, bricked Player terrain interaction while authoring Axis Aligned Bounding Box Tree for CollisionManager to handle all collision interaction. Added PhysicsManager stub. 2019-02-20 10:49:56 -06:00