Added a new interface for "position components." This way, we can implement either kinematic or dynamic objects just by choosing different components.
Presumably, each Entity should have a pointer to a position component that determines its place in the model-view. Then, when drawing or checking collision,
it can combine its own transformation matrix with that of its parent to get the final transformation matrix fairly easily.
merge
reintroducing meshbatch this will allow us to group meshes together this makes more sense than seperating them
added meshbatch it processes all meshes and makes one draw call
Slowly moving transformations into components. Added a new PositionComponent class that just stores fixed position/rotation/scale data.
KineticComponents will use these to calculate velocity and acceleration, as well. Also, now every component can be polled for its transformation
data, adjusted for all of its parents if applicable.
Just a quick review and some note-taking. Added a MatrixTransform component.
Merge branch 'master' of https://github.com/dfoley23/InfiniteJumpEngine
made a ball mesh theres a hole in the top tho cant figure out why
Merge branch 'master' of https://github.com/dfoley23/InfiniteJumpEngine
made a ball mesh theres a hole in the top tho cant figure out why
added picking to you can move anything you click also put edges into a list of seperate meshes
added picking to you can move anything you click also put edges into a list of seperate meshes
Forgot a class. Whoops!
Merge branch 'master' of https://github.com/dfoley23/InfiniteJumpEngine
Started a framework for collider components. The basic idea is that each collider can arbitrarily check whether and when the other is colliding with them.
Still need to be filled out, but it's a start!
More collider stuff. Added dummy functions in the .cpp files to fill out.
fixed draw call stuff it will be automatically added to the dynamic once translated this could be updated later
merge
optimized the batching with vector insert
added camera profiles