Jump to content

[SOLVED] PlayerActor & editor


photo

Recommended Posts

Posted

To move objects using PlayerActor, when I add it to the editor in an errors.

 

PlayerActor actor = new PlayerActor();
add_editor(actor);

 

UserArray::push(): unitialized key

Editor::update(): editor update function return 0

Posted

Cannot reproduce it - you can add actor into the editor. The error message indicates the actual error is on a different line of your script.

Posted

Yes, i can add actor in the editor, but when try see it, the following error occurs.

 

To reproduce it, edit samples\players\actor00.cpp and add in function create_scene

add_editor(actor);

 

after that try navigate to actor in Nodes window

Posted

Ah, my bad. PlayerActor support has been recently added, so you can test it very soon with an updated SDK.

×
×
  • Create New...