Motion Controller
Last updated
Last updated
Motions are activated by changing the player's state to the specified state that the motions use. For example, motions in the Default state are always updated, motions in the Walk state are only updated if the player's state changes to the Walk state.
To add a new Motion State, simply click the Add State button and select the state. To add motion to a state, simply click the plus (+) button next to the Motion Data title and select the motion module.
Here is a simple script that creates spring-like motion:
To create a simple motion, just derive it from the SimpleMotionModule. The newly created motions will be displayed when you click the plus button.