voxcraft / voxcraft-sim

a GPU-accelerated voxel-based physics engine
Creative Commons Zero v1.0 Universal
48 stars 11 forks source link

Changing Phase/Amplitude/Freq of temp on a per-material basis #22

Closed jrieffel closed 4 years ago

jrieffel commented 4 years ago

Right now it looks like properties such as TempPeriod and TempAmplitude are fixed at the environmental level. But is there a way to change them on a per-material basis? For instance maybe I want to control two material types, one that has an amplitude of 15 degrees and a period of 0.2s, and a second material with an amplitude of 5 and a period of 0.1s.

(Obviously this makes more sense if we think about pneumatically actuating sets of connected voxels in a silicone robot, rather than varying the temperature)

skriegman commented 4 years ago

@jrieffel do you want to try to implement this and submit a pull request? We have our hands full/overflowing at the moment.

jrieffel commented 4 years ago

someday! thanks!