Created
August 9, 2013 13:34
-
-
Save gidili/6193621 to your computer and use it in GitHub Desktop.
hardcoding activation signals for elastic matter
This file contains hidden or 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
// 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