On Oct 20, 2011, at 3:34 AM, chatpakorn prasertsung wrote: > the example can apply with Tundra 2.1 right?
"can", yes, but does not now -- is untouched since 1.x (where worked), requires a little porting to 2 (just the usual *Raw removals in the .js etc) > Neil ~Toni > On Thu, Oct 20, 2011 at 3:52 AM, Toni Alatalo <t...@playsign.net> wrote: >> On Oct 18, 2011, at 5:38 AM, chatpakorn prasertsung wrote: >> >> I plan to have just a simple door open/close, by mouse click or auto >> when avatar close by. >> can any one guide me with one is more easier for starter? >> what step should I start to look into it? >> do we need to created animation before import the mesh file? >> >> There actually is a door example, in scenes/Door/ - bundled in release, and >> also available >> at https://github.com/realXtend/naali/tree/tundra2/bin/scenes/Door >> the source >> is >> https://github.com/realXtend/naali/blob/tundra2/bin/scenes/Door/door.coffee >> (when >> porting the door from python to javascript, used the opportunity to test >> Coffeescript -- that is a nice lang which is generated to js -- the >> coffee.js is what Tundra uses to run and that's readable too if you prefer >> normal js syntax) >> It is not ported to tundra2 yet and not documented, but works and is >> actually quite featureful. >> As the model uses a sliding door that is rigged and skeletally animated (in >> Blender). The door has also custom data, as it can be locked, and there are >> custom gui buttons to control it too. >> >> I have just little knowledge about coding in Action script , so is it >> possible to achieve it by my skill? >> or you think it is too complicate for me. >> >> It is simple, certainly doable with Flash .as experience (.as is also .js, >> and the Tundra js api is not awful). >> I port the example to current as soon as get a chance, and can answer >> questions in the meantime. >> >> Chatpakorn >> >> ~Toni >> >> -- >> http://groups.google.com/group/realxtend >> http://www.realxtend.org > > -- > http://groups.google.com/group/realxtend > http://www.realxtend.org -- http://groups.google.com/group/realxtend http://www.realxtend.org