Amelioration de barrieres

serge62
Posts: 25
Joined: Mon Mar 16, 2015 12:35 am

Amelioration de barrieres

Post by serge62 »

Bonjour à tous ,

je viens d'installer des barrières , elle fonctionnent bien , mais je voudrais ameliorer ces barrières, car la , je suis obligé de descendre du vehicule pour les ouvrir / fermer , est il possible de les ouvrir /fermer en restant dans le vehicule ? je vous joins le animatedObjects.xml
<animatedObject index="farmdoor1">
<controls posKey="ANIMATED_OBJECT_OPEN_DOOR" triggerNode="0" posText="input_ANIMATED_OBJECT_OPEN_GATE" negText="input_ANIMATED_OBJECT_CLOSE_GATE" />
<sound file="maps/model/barriere bois auto/Sounds/door1.wav" pitchOffset="1.00" volume="0.20" indoorVolumeFactor="0.55" indoorLowpassGain="0.85" pitchMax="1.15" />
<animation initialTime="0" duration="4">
<part node="1"> <!--index of left Door node-->
<keyFrame time="0" rotation="0 0 0" />
<keyFrame time="0.8" rotation="0 -90 0" />
<keyFrame time="1" rotation="0 -90 0" />
</part>
<part node="2"> <!--index of right Door node-->
<keyFrame time="0" translation="-6.565 0.02 0" rotation="180 0 -180" />
<keyFrame time="0.2" translation="-6.565 0.02 0" rotation="180 0 -180" />
<keyFrame time="1" translation="-6.565 0.02 0" rotation="180 -90 -180" />
</part>
</animation>
</animatedObject>

ATTRIBUTS

<UserAttribute nodeId="6279">
<Attribute name="index" type="string" value="farmdoor1"/>
<Attribute name="onCreate" type="scriptCallback" value="AnimatedObject.onCreate"/>
<Attribute name="xmlFilename" type="string" value="maps/animatedObjects.xml"/>
bigboy4884
Posts: 1
Joined: Mon Apr 03, 2017 3:58 pm

Re: Amelioration de barrieres

Post by bigboy4884 »

Bonjours serge62.

J'ai le même soucis que vous.
avez-vous trouvé une solution ?
cordialement.
Post Reply