Commit Graph

14 Commits

Author SHA1 Message Date
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
f84b680de5 PhysicsManager now has a job, CollisionManager enabled, using Player velocity instead of position for movement controls, added Entity drag, added spaces 2019-08-09 08:27:34 -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
5a97d292c0 remove glu from gemfile, added InputMapper, using InputMapper for Camera and Player. 2019-02-17 14:14:39 -06:00
9f6f330202 Restructured 'objects' folder into a meaningful 'assets' folder, added 'war_factory' model, refactored GameObject#bind_model and ModelLoader to understand the restructuring. 2019-02-17 10:50:08 -06:00
3f7c5e992d Add collision manager... 2019-02-07 15:54:52 -06:00