Drawing Problems
Posted: Thu Nov 15, 2012 9:26 pm
I've started using bepu from yesterday, and here is my first problem.
Since entities don't have a "draw part", I decided to start trying the Model Drawer of the Demo.
When I change the space (I'm using a superclass named "Cell") it automatically clear and add all the entities to the drawer.
In Draw Method of the MainType I inserted drawer.Draw(view, projection) and in the Update method I inserted drawer.Update(), but nothing happens.
Can you better explain to me how to draw an entity (also if not with the drawer)?
Since entities don't have a "draw part", I decided to start trying the Model Drawer of the Demo.
When I change the space (I'm using a superclass named "Cell") it automatically clear and add all the entities to the drawer.
In Draw Method of the MainType I inserted drawer.Draw(view, projection) and in the Update method I inserted drawer.Update(), but nothing happens.
Can you better explain to me how to draw an entity (also if not with the drawer)?