-
Notifications
You must be signed in to change notification settings - Fork 5
Vehicle IK: Interactive elements
Martin-Outerra edited this page Apr 26, 2018
·
27 revisions
This page describes how interactive elements can be set up in models so that they can be used by Outerra engine.
The interactive elements are defined by setting custom attributes to a bone inside your 3D editor. The parameters used by Outerra are following:
"single_bone_control_type" <integer>
"single_bone_vel" <float>
"single_bone_acc" <float>
"single_bone_cen" <float>
"single_bone_min" <float>
"single_bone_max" <float>
"single_bone_step" <integer>
- Select the bone you want to be defining
- Select object rollout
- Add each property you want and set its value
- Select the bone you want to be defining
- Open: Animation -> Parameter Editor...
- Add each property you want
- Close the Parameter Editor
- The properties are now editable from the rollout
must be one of the following
leg_step_on = 1, //< pushed by a leg
leg_kick = 2, //< kicked by a leg
button = 3, //< pressed by an index finger
button_thumb = 4, //< pressed by thumb
button_fist = 5, //< pressed by whole hand
shaft_small = 6, //< operated just by a single finger
shaft_medium = 7, //< operated by three fingers
shaft_large = 8, //< operated by whole hand
a float value representing rate of change of the value
a float value representing rate of change of the velocity
a float value representing how fast is the value returning to ??? can be 0.
minimal value of the control
maximal value of the control
??
Test