Dynamics

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 10/10/2008 at 08:32, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   10.111 
Platform:      Mac OSX  ; 
Language(s) :   C.O.F.F.E.E  ;

---------
Hello,

does anyone know if it's possible to add a Dynamics Tag (specifically Rigid Body Dynamic Tag in this case) to an object using COFFEE. I haven't been able to find one jot of info regarding this, so I'm fearing it's pie in the sky.

Thanks

Jon

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 10/10/2008 at 08:44, xxxxxxxx wrote:

Create a Rigid body tag on any object, Create a COFFEE Tag, use this to find the ID of the Rigid body tag (of course you can do this with any tag, object, material etc.) :

main(doc,op)
{
println(op->GetFirstTag()->GetType());
}

The id of the tag is then printed into the c4d console window (Windows->Console). You can then use that ID for creating this tag.

If you want to modify the settings, go into the Cinema 4D resource folder (on your HD) Cinema4D/modules/Dynamics/res/description/

and look up the IDs in the according tags description file (for rigid body tag for example "rbdtag.h").

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 10/10/2008 at 09:10, xxxxxxxx wrote:

Hi Katachi,

you're a star. That's a real insight for me - critical information, it seems, if you're to have a chance at exploiting COFFEE.

Which brings me to...
I've had a good look around, and I've purchased The Coffee Book, and I'm referring to the 9.5 SDK but it seems there's a real absence of a definitive COFFEE guide - i.e something similar to the incredibly thorough Actionscript documentation that comes included with Flash.

Anyway, I'll have a crack at adding a dynamics tag as you describe, but I've a feeling I'll be back!

Thanks again

Jon