Jump to content
Sign in to follow this  
archz2

VEX query - unable to get a bounce effect

Recommended Posts

Posted (edited)

I am following this youtube tutorial for VEX. 
https://www.youtube.com/watch?v=9xhmDWAyPRA


At 14 min 48 seconds, he achieves a bounce effect. However, when I press the play button, the shape doesn't act that way. It only expands and contracts once. 

I have typed in the same code but the ramp isn't resetting the shape after regular time intervals. What is it that I am doing wrong?

VEXISNTSCARY_PART4_channel func_query.hip

Here's a short screenrecording that I made

vex question.mp4

 

Edited by archz2

Share this post


Link to post
Share on other sites

Hi,

I haven't seen this tuto, but you can explicitly keep the fraction part of the time like this:

float blend = @Time % 1.0;

Otherwise the values get larger than 1, and so the ramp caps them at 1, hence why the "bounce" stops.

  • Like 1

Share this post


Link to post
Share on other sites

Thanks a lot . Editing the time worked really well. Can you also check out the tutorial please? I wonder why the same line of code worked for the tutor but not for me. 

Share this post


Link to post
Share on other sites
15 hours ago, archz2 said:

Thanks a lot . Editing the time worked really well. Can you also check out the tutorial please? I wonder why the same line of code worked for the tutor but not for me. 

It seems like SESI changed the behaviour of ramps so now no more implicit cycling behaviour. The author needs to update his tuto.

  • Like 1

Share this post


Link to post
Share on other sites
Posted (edited)
1 hour ago, animatrix said:

It seems like SESI changed the behaviour of ramps so now no more implicit cycling behaviour. The author needs to update his tuto.

I see. Thanks again. :)

Edited by archz2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×