Re: [Interest] [Qt3d] Does the duration of NumberAnimation update when you change its value?

2016-04-27 Thread Jason H
Project" <interest@qt-project.org> Subject: Re: [Interest] [Qt3d] Does the duration of NumberAnimation update when you change its value? Hi DR. Sean Thanks for reply. I tried both methods none of them works, Overall I think I have a problem controlling the animation (start/stop/

Re: [Interest] [Qt3d] Does the duration of NumberAnimation update when you change its value?

2016-04-27 Thread Ramy Atalla via Interest
Hi DR. SeanThanks for reply.I tried both methods none of them works, Overall I think I have a problem controlling the animation (start/stop/restart).I have a slider which generates a value between 0-5000 for the duration of the animation, On value change of the slider it calls a function which

Re: [Interest] [Qt3d] Does the duration of NumberAnimation update when you change its value?

2016-04-27 Thread Sean Harmer
On Tuesday 26 April 2016 22:27:16 Oleg Evseev wrote: > Hi, Ramy and Sean > > > Something like this should do it (not tested) > > Thank you, Sean. Correct it little bit, tested, it works: > > Entity { > > id: mainEntity > > property real progress: 0.0 > > property real

Re: [Interest] [Qt3d] Does the duration of NumberAnimation update when you change its value?

2016-04-25 Thread Sean Harmer
Hi, On Monday 25 April 2016 16:23:31 Ramy Atalla via Interest wrote: > Hi,I am trying to do a rotation animation and control the rotation speed by > changing the value of the duration, But it doesn't work . My question is it > feasible or there another way ? > > QQ2.NumberAnimation {

[Interest] [Qt3d] Does the duration of NumberAnimation update when you change its value?

2016-04-25 Thread Ramy Atalla via Interest
Hi,I am trying to do a rotation animation and control the rotation speed by changing the value of the duration, But it doesn't work . My question is it feasible or there another way ? QQ2.NumberAnimation {id:wheelanimation property int carspeed:0 targets: [wheel1Transform ,