Rolling a square: School Of Motion Response

    School of motion just had a tutorial about rolling a square.
    http://www.schoolofmotion.com/project/30dae_19_rollcuberig/
    Joey said that he had trouble getting the triganometry to work properly, so this is how to do it. be sure to go check out his tutorial, and also the rest of the 30 days of After Effects currently going on right now. pretty cool stuff.

    here is the expression

    rot=transform.rotation;
    scl=transform.scale[0]/100;
    w=(this.width/2)*scl;
    r=(degreesToRadians(rot))*2;
    t=transform.position;
    slider=effect(“Slider Control”)(“Slider”);

    [t[0]+w*rot/45,t[1]-(Math.abs(slider*Math.sin(r)))*scl];

    My Tip Jar: http://goo.gl/rYpW42
    ⭐️ UNLIMITED STOCK DOWNLOADS
    Access to over 600,000 ready-to-use After Effects Templates, Stock Footage, Fonts, Templates and more! http://cinemaspice.net/envato
    to help support this channel.

    Don’t forget to share this video. You never know who among your friends is a closet After Effects user. Thanks.

    Twitter

    Facebook:
    https://www.facebook.com/thecinemaspice/
    If you need stock footage, photos and even After Effects templates. Go check out Envato Elements. http://cinemaspice.net/envato
    to help support this channel.

    Don’t forget to share this video. You never know who among your friends is a closet After Effects user. Thanks.

    Twitter

    Facebook:
    https://www.facebook.com/thecinemaspice/

    LEAVE A REPLY

    Please enter your comment!
    Please enter your name here