|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Junior Member |
Hi I am trying to add an interactor to the scene to catch when the mts has finished loading:
str_mts_handle = MTSMarkup('MTSHandle', '', 'Event', 'MTSLoadDone:animation_name', 'Action', 'MTSJavaScript', 'Func', 'test();'); str_mts_interactor = MTSMarkup('MTSInteractor', str_mts_handle, 'Name', 'object_load_interactor'); vmp.Execute(str_mts_interactor); vmp.Render(); after render I execute: alert(plugin.GetProperty('MTSInteractor.object_load_interactor', 'name', 'mts_str')); but it does not exists in the scene. Why? Also, is there a way to change the "Event" of a handle using something like: vmp.SetProperty('MTSInteractor.object_load_interactor', 'evnt', 'MTSLoadDone:another_animation_name', 'mts_str'); Thanks |
||
|
|
Member |
Your alert is using plugin.GetProperty and it should be vmp.GetProperty
|
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|

