Autostart Rotator script object

39 views
Skip to first unread message

Владимир Побединский

unread,
Nov 28, 2013, 6:04:58 AM11/28/13
to urh...@googlegroups.com
I add ScriptInstance to node. and set script file as Rotator.as. Class name is Rotator. Fixed Update FPS - 30. Rotation speed 0, 100, 0.
In editor (when auto update is turned on) it work fine - node rotating. When I load scene to my application, then node not rotating. How to launch it?

Lasse Öörni

unread,
Nov 28, 2013, 6:10:34 AM11/28/13
to urh...@googlegroups.com
On Thursday, November 28, 2013 1:04:58 PM UTC+2, Владимир Побединский wrote:
I add ScriptInstance to node. and set script file as Rotator.as. Class name is Rotator. Fixed Update FPS - 30. Rotation speed 0, 100, 0.
In editor (when auto update is turned on) it work fine - node rotating. When I load scene to my application, then node not rotating. How to launch it?

Does your application instantiate the AngelScript subsystem like for example the 21_AngelScriptIntegration example is doing? That's not automatic as there's no hardcoded dependency to AngelScript.

Are you seeing any errors in the log?

Reply all
Reply to author
Forward
Message has been deleted
0 new messages