Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 13-May-2018 13:43:32

vinurd
Member
From: irkutsk
Registered: 19-Jul-2014
Posts: 448
Website

The ability to disable the keyboard

I need to turn off the keyboard while running the animation or after it. To prevent the button from playing the animation again.

Offline

#2 13-May-2018 18:42:52

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 4,136
Website

Re: The ability to disable the keyboard

Hello,

you can use a switch plugIT to disable the link while playing.
Keydown -> switch.input
switch.left -> animation start
animation start -> switch.switch right
animation stop -> switch.switch left

Offline

#3 14-May-2018 17:52:36

vinurd
Member
From: irkutsk
Registered: 19-Jul-2014
Posts: 448
Website

Re: The ability to disable the keyboard

https://www.youtube.com/watch?v=GoHgk6CvYrM

I made an example of animation with switch. If at the beginning of time to press a second button it will work.in sight on video. If wait the first animation of the late-the all is beginning to work. And if you do not wait to press the second button, the second animation will work.

Offline

#4 14-May-2018 18:01:40

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 4,136
Website

Re: The ability to disable the keyboard

yes the "animation switch" make a transition. but this is made for morph or skeletal animation. node animation don't like animation transition on weight.

Try to use the animation plugit directly instead of the animation switch. Or use only one animation switch to close /open and disallow the in animation change using the switch plugit.

Offline

Board footer

Powered by FluxBB