Skip to content

Instantly share code, notes, and snippets.

@gidili
Created August 9, 2013 13:34
Show Gist options
  • Save gidili/6193621 to your computer and use it in GitHub Desktop.
Save gidili/6193621 to your computer and use it in GitHub Desktop.
hardcoding activation signals for elastic matter
// set activation signal buffer to test contraction
float[] signals = new float[_elasticBundlesCount];
for(int i = 0; i < _elasticBundlesCount; i++)
{
signals[i] = 0.9f;
}
this.setActivationSignal(signals);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment