This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
namespace YourNamespace | |
{ | |
struct Routine | |
{ | |
// Current "waiting time" before we run the next block | |
float wait_for = 0; | |
// Used during `rt_for`, which repeats the given block for X time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This script is published under the CC0 1.0 Universal License | |
// https://creativecommons.org/publicdomain/zero/1.0/ | |
// To the extent possible under law, Spryly® Ltd. has waived all copyright | |
// and related or neighboring rights to this script. This work is published from: Canada. | |
using UnityEngine; | |
using UnityEditor; | |
using System.Collections; | |
public static class SetConstantTangents { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# bm_nurbsRibbon | |
import maya.cmds as cmds | |
# sets up a ribbon with j drive joints and k bind joints | |
class NurbsRibbon(object): | |
def __init__(self, numFollicles=6, numDrivers=3, name="nurbsRibbon"): | |
if numDrivers <= 1: | |
return |