create a solver object with coffee
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/11/2005 at 10:59, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;---------
hello people,
i get deeper and deeper into the c4d plugin programming (with coffee, not C++).
Now i would like to know how i can attach a Tag to a created Object when the Tag is part of a plugin like say the DYNAMICS of C4d.
Because i cannot find any Solver Object oder Gravitation or Rigid Body Dynamic Tag inside the COFFEE Language Reference...
i started and played around with the dynamics section by hand, but now i would so like to start create programmed dynamic environments.
check my blog www.robotchurch.com if you like.
thanks for any hints and help -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/11/2005 at 12:09, xxxxxxxx wrote:
If you have a look within /modules/dynamics/res/description you will find the resource files for the dynamics tags. The only thing not there is the ID number, 1000204 for the constraint tag for instance, which you can lookup by doing GetType() on an existing tag. Here's a code sample:
var tag = AllocTag(1000204); tag#CON_MODE = CON_JOINT; tag#CON2_POS = vector(1,2,3); op->InsertTag(tag, NULL);
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/11/2005 at 12:10, xxxxxxxx wrote:
(Looking at your blog I see you figured this out already. Though the # access method is much nicer.)