THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/09/2003 at 03:07, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.200
Platform:
Language(s) : C++ ;
---------
Im trying to make something similar to the Array Tool, where is makes copies of the input object.
How do I go about this?
Im stuck at the actual, making the duplicate of objects in an ObjectData plugin.
BaseObject *PluginTest::GetVirtualObjects(PluginObject *op, HierarchyHelp *hh)
{
BaseObject *orig = op->GetDown();
if (!orig) return NULL;
BaseObject *main=NULL;
main = BaseObject::Alloc(Onull);
Vector v(0,0,0);
return main;
}
The orig variable represents the input object, but how do I make several orig's and place them into the scene?
Thanks