Author Topic: About Clone  (Read 642 times)

Offline kefeihappy

  • byte
  • *
  • Posts: 11
    • View Profile
About Clone
« on: February 21, 2014, 10:44:52 am »
Hello sir 
I  want to Clone an Object3d,
Code: [Select]
object_Clone_road= Model_4_road.cloneObject();
world.addObject(object_Clone_road);
Model_4_road.addChild(object_Clone_road);
When Mode_4_road.addCHild(object_Clone_road); It's Doesn't work,
What's the Wrong?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11777
    • View Profile
    • http://www.jpct.net
Re: About Clone
« Reply #1 on: February 21, 2014, 12:48:10 pm »
Nobody can answer a question that only states 'it doesn't work'...WHAT doesn't work? What do expect it to do and what are you getting instead?