strange code behaviour....

(4 posts) (3 voices)
  • Started 9 months ago by robertor
  • Latest reply from iainB85

Tags:

No tags yet.

  1. robertor

    veteran
    Joined: May '13
    Posts: 255

    Why this piece of code doesn't work anymore. It worked on another project (still works) but now my actor3D is #null...
    I don't understand why...
    Any ideas?

    vkActorPtr newActor = stage.CreateDynamicActor("item",articolo1);
    vkEntity3DPtr actor3D;
    actor3D = newActor;

    Posted 9 months ago #
  2. NKL_DS

    3DVIA Studio Guru
    Joined: Jan '10
    Posts: 38

    Hello Robertor,
    What is the type of articolo1? vkActorTemplate ?

    Posted 9 months ago #
  3. robertor

    veteran
    Joined: May '13
    Posts: 255

    NKL_DS said:Hello Robertor,
    What is the type of articolo1? vkActorTemplate ?

    It's a member of the behaviour and it's a vkActorTemplatePtr

    Posted 9 months ago #
  4. iainB85

    Interplanetary Delivery Boy
    Joined: Jun '08
    Posts: 515

    The only thing I can think of is the dynamic actor is not being created properly in your new project. Can you reproduce in a small project and share?

    Posted 9 months ago #

Reply

You must log in to post.