Create RigidBodyTag on BaseObject [SOLVED]
On 15/09/2015 at 07:49, xxxxxxxx wrote:
Cinema 4D Version: R16.050
Platform: Mac OSX ;
Language(s) : C++ ;
I'm trying to create a RigidBodyTag on a BaseObject to add some Simulation Data. Unfortunately I was unable to find a hint in the forum or documentation how I could do this using C++. Has anybody already tried/done this and could give me some hints on how i could achieve this? I would appreciate any tip
On 16/09/2015 at 01:52, xxxxxxxx wrote:
Hello and welcome,
to create something in Cinema 4D you have to know the element's ID. If the ID or a corresponding symbol cannot be found in the documentation it is always possible to get the ID from an existing element using GetType().
The ID of the Dynamics Tag is 180000102. The most simple way to add a tag to an object is to use MakeTag().
On 17/09/2015 at 02:44, xxxxxxxx wrote:
Thank you for your guide, it was exactly what i needed.