Forum Replies Created

Page 1 of 2
  • Martin Löfqvist

    December 18, 2011 at 8:44 pm in reply to: Jumping i Y when moving in X?

    I solved it by changing > to !== in the if loop,

    thanks for the help Dan!

    if (transform.xPosition.speed !== 0){
    freq =2;
    amp = 15;
    y = amp*Math.abs(Math.sin(time*freq*Math.PI*2));
    }else
    y = 0;
    value - y

  • Martin Löfqvist

    December 18, 2011 at 8:39 pm in reply to: Jumping i Y when moving in X?

    Ah I see!

    One, not so tiny problem though:
    Because it’s based on the xPosition.speed moving it to the left renders a negative speed value thus no jumping.
    Would the solution be just to look for the exact value of 0 in xPosition.speed or writing another if loop?

  • Martin Löfqvist

    December 18, 2011 at 8:16 pm in reply to: Jumping i Y when moving in X?

    Dan, amazing! This seems to work.

    Very much appreciated!!

    A question regarding the solution:
    1) You are analyzing the “speed” property in xPosition. Is this the same value as you see in the graph editor? (Had no idea you could get this value!)

    2) You are writing “value – y”, is value a variable or a way to … execute the script? I never seen it before.
    

  • Martin Löfqvist

    December 18, 2011 at 7:57 pm in reply to: Jumping i Y when moving in X?

    Yeah,

    this is nice! Is it possible to run this only when the object is moving in x? Is it possible to get the last frames x position and compare it to the current frames x position? That way you could get that information.

  • Martin Löfqvist

    December 18, 2011 at 7:37 pm in reply to: Jumping i Y when moving in X?

    Hi Dan,

    it works. Sort of.
    First of I’m looking to seperate the position dimensions. (It should just be a matter of re-arranging the code I think).
    Then it behaves kinda odd when I’m changing the incoming/outgoing velocity of the keyframes. Whys that?

  • Martin Löfqvist

    October 11, 2009 at 12:37 pm in reply to: Inverting, 0 -> 1 and 1 -> 0

    Thanks!

    Seems to work, two questions though:
    1) How does the linear function work?
    2) Is there a way to render a variable, ie in a text box.

  • Martin Löfqvist

    March 30, 2009 at 7:27 pm in reply to: Problem with pasting keyframes from soundkeys

    Hi!

    Thanks for your replay.

    I actually found a solution by parenting the puppet pin to the output of Soundkeys. Looks like this will work. I guess it’s exactly what you are suggesting.

  • Martin Löfqvist

    October 30, 2008 at 10:10 pm in reply to: Creating a grid of the same object?

    Thanks a bunch for helping out.

    Appreciates it!

    /M

  • Martin Löfqvist

    October 30, 2008 at 9:46 pm in reply to: Creating a grid of the same object?

    Yes!!
    The Particle Playground is doing exacty what I was looking for. First part is success!

    But.
    The ‘Time Offset’ under Layer Map is just… offset the next layer by the amount of time given there? Is there any way for more precise controls? randomness?
    Is al that under Presistent Property Mapper? Any tips on how to use that? Moving footage?

    Thank you cows!

  • Martin Löfqvist

    September 27, 2008 at 4:56 pm in reply to: Arrange Layers in circle help?

    Seems like a good way of solving this. Could you share the AE-file?
    Would be great.

Page 1 of 2

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy