Hi,
I'm doing my first tests with bepu engine, and the main problem I'm experiencing its to stablish a relationship between the entites and the models. My entities behave in a strange way. I think it is because of the entities are not well scaled with the models. Is there an easy way to do this? Have the entities any way to draw themselves, or its wireframe, for testing purposes?
See that example, I was trying to launch a ball to a bowl... http://www.verticaling.com/Bowling.rar
Thanks!
Relationship between models and entities
Relationship between models and entities
Jesús Bosch
XNA BLOG: http://geeks.ms/blogs/jbosch
XNA BLOG: http://geeks.ms/blogs/jbosch
Re: Relationship between models and entities
The BEPUphysicsDemos project includes a BEPUphysicsDrawer library project which can be used as a debug renderer. It is used in .dll form in the RagdollDemo as well.
The attached version of the project incorporates the drawer library in a minimal way. There's an InstancedModelDrawer, isWireframe property, line/constraint drawer, and some other things that aren't shown (but can be easily introduced).
The attached version of the project incorporates the drawer library in a minimal way. There's an InstancedModelDrawer, isWireframe property, line/constraint drawer, and some other things that aren't shown (but can be easily introduced).
- Attachments
-
- Bowling with drawer.zip
- (6.48 MiB) Downloaded 254 times
Re: Relationship between models and entities
Many thanks!!! You have been very helpful. Now I can test everything much better
Jesús Bosch
XNA BLOG: http://geeks.ms/blogs/jbosch
XNA BLOG: http://geeks.ms/blogs/jbosch
Re: Relationship between models and entities
This drawer DLL can be download anywhere in this web? should it work for windows phone 7 CTP?Norbo wrote:The BEPUphysicsDemos project includes a BEPUphysicsDrawer library project which can be used as a debug renderer. It is used in .dll form in the RagdollDemo as well.
The attached version of the project incorporates the drawer library in a minimal way. There's an InstancedModelDrawer, isWireframe property, line/constraint drawer, and some other things that aren't shown (but can be easily introduced).
Thanks
Jesús Bosch
XNA BLOG: http://geeks.ms/blogs/jbosch
XNA BLOG: http://geeks.ms/blogs/jbosch
Re: Relationship between models and entities
There is no drawer .dll-specific download on the website, but a precompiled .dll is used in the RagdollDemo project (and it can be compiled from the BEPUphysicsDemos project).
The WP7 demo source (downloadable on http://www.bepu-games.com/BEPUphysics/downloads.htm) has a modified drawer in it thats works on the phone.
The WP7 demo source (downloadable on http://www.bepu-games.com/BEPUphysics/downloads.htm) has a modified drawer in it thats works on the phone.