|
Post by batvink on Feb 20, 2005 20:49:07 GMT 1
It would be good to get hold of this functionality.
I'm working on updating Magic World, an old World editor which I converted to DB Pro. I'm going to add a Newton tab, where you can apply physical properties to your world objects, and it will create them for you in your application.
You can mail me at batvink at hotmail com.
|
|
ec3t
Newton Scholar
Posts: 103
|
Post by ec3t on Mar 4, 2005 21:47:38 GMT 1
Ohhhh yea ! please send me the update too etienndes@free.fr man man man i'm eager ps: I used to shout alot here , on the bugs ... undocumented or unsupported stuff but .. actually the wrapper rocks , it's the pionneer of a good working Wrapper for DB Wala and you Kjelle both rocks , both for the infos and ways to enhance the stuff , but i noticed a somewhat little mistkae on the infos (can't help .... ) , it's in the createmibox , the docs says to use [] , if coordinates are plain , instead , kjelle , could you rewrite like : use this ..... if using vector use this ..... Object,X,Y,Z if not using vector that may clarify with a 10 sec work Again , absolutly good work , keep it as motivated as now !
|
|
|
Post by kjelle69 on Mar 5, 2005 0:14:09 GMT 1
I dont really understand which command you mean `? Is it this one you refer to ?
NDB_CalculateMIBoxSolid syntax: NDB_CalculateMIBoxSolid mass [, width, height, depth] mass mass of the body (float) width width of the box (float) *optional height height of the box (float) *optional depth depth of the box (float) *optional (vector 1) temp vector used for return values. returns: nothing Comments: Fills temp vector 1 with the Moment of Inertia for a Solid Box of the specified size. If no size is specified, the contents of temp vector 1 are used. You can plug these values into the NDB_NewtonBodySetMassMatrix function to achieve more realistic rigid body simulation. If no initial size is specified, the contents of temp vector 1 are used.
|
|
ec3t
Newton Scholar
Posts: 103
|
Post by ec3t on Mar 5, 2005 1:08:27 GMT 1
yep this one , the [] stuff makes it confusing , well at last for me at first , i guess the syntax is from c++ , well in application , the [] is not there , that's why i suggested to rewrite the 2 cases in wich this command is used
and is there any known bug with the getobjecttotalvolume command ?? i asked in the bug part i think but ... can't harm to ask twice =)
|
|
|
Post by Kjelle69 on Mar 5, 2005 2:23:01 GMT 1
the [] means the parameters inside are optional. in other words, you can call the command without any parameters, and it will use the internal temp vector, or you can pass values yourself.
the standard DBPro commands are handled the same way.
|
|
ec3t
Newton Scholar
Posts: 103
|
Post by ec3t on Mar 5, 2005 2:32:22 GMT 1
walaber i know it's the case , what i suggested kjele was to write that on the help file to help users understanding at first oh what a luck you are here btw can you look at the gettotalvolume thread ? cause it seems to fizzle , tx !
|
|
|
Post by batvink on Mar 7, 2005 10:24:18 GMT 1
I think the people who don't know what the [] means will be the same people that wouldn't read any extra explanation at the top either ;D ;D ;D
|
|
|
Post by omnxae on Aug 22, 2008 6:39:33 GMT 1
|
|