VSM 13 (vsm13++at++hol.fr)
Tue, 18 Aug 1998 16:33:17 +0200
>Hello.
>
>I'm working with a flight tower simulator. All my models are made with
>Multigen in flt format. At the begining of the simulation, I load the
>airport and then all the type of aircrafts with the callback mechanism,
>because I need to switch the undercarriage, and some lights. During the
>exercice I must add or remove some aircrafts. To add an aircraft (a given
>type can be used more than once), I use the function pfClone. My question
>is: how can I do the callback, and is it then possible to switch for each
>clone separately the undercarriage and the lights ?
>Remark: If instead of pfClone, I load the aircraft with pfLoadFile it works
>fine, but this takes too long.
>
>
>///////// VECTOR TECHNOLOGIES SA /////////
> Etienne Pétremand
> 7, ch de la Venoge
> CH - 1025 St-SULPICE
> Switzerland
> tel: +41 21 691 42 43
> fax: +41 21 691 42 40
> eml: epe++at++vectec.ch
>
I use another method :
After the pfClone, I use a Traversal Callback to keep the nodes to be
modified on a array
( switching, dof ...)
and after you can attach node callback or manage your array of nodes on the
preFrame loop
Yoel HALLAKOUN,
V.S.M sa
This archive was generated by hypermail 2.0b2 on Tue Aug 18 1998 - 07:35:11 PDT