A shared array of skeletons that is used for collision checking.
A shared skeleton that is affected by gravity itself.
The wait time between frames in miliseconds, operations not included. Set to at least 1, as the function spends 1 milisecond waiting for messages.
A gravity struct that gives the axis and strength specifications.
none.
affectByGravity affects a skeleton by a specified gravity struct. Send any integer to the thread containing the function to terminate it.