|
Post by Tiresius on May 5, 2005 3:46:40 GMT 1
Hello everyone.
I'm making a level for my game, and basically what it is is a single DBPro object, with multiple materials within the level. Now the only way I can do this is to have multiple Collision Trees and basically assign them a material for Newton to check. That means I have one DBPro object which is made up of multiple collision trees according to the Newton world.
In this case I don't really need any Newton-> DBPro association via NDB_BodySetDBProData because nothing can destroy/manipulate the terrain since it has a mass of 0, right? I've taken that call out of my code and the game still works.
Just wondering if this is kosher or if some other part of Newton wrapper that I'm not aware of needs to have a newton body associated to a DBPro object. Thanks!!
|
|
|
Post by Kjelle69 on May 6, 2005 3:52:34 GMT 1
yup, that's fine. it only needs to know the dbpro object number if you want it to delete / translate / rotate it for you. in your case, it's unnecessary.
|
|
|
Post by ddddyyyy on Jul 13, 2009 9:51:39 GMT 1
|
|