12-11-2011, 07:37 PM
12-12-2011, 01:05 AM
SetEntityConnectionStateChangeCallback(string& wheelName, string& callback);
The parameters for the callback function are (string &in entity, int state). You'll have to fiddle with it to see which direction you turn the wheel/crank corresponds to which state. I believe -1 is min, 0 is middle and 1 is max.
The parameters for the callback function are (string &in entity, int state). You'll have to fiddle with it to see which direction you turn the wheel/crank corresponds to which state. I believe -1 is min, 0 is middle and 1 is max.