14 #ifndef __diguyChainSimulation_H
15 #define __diguyChainSimulation_H
21 #define CPLUSPLUS_ONLY
25 class bdiScenarioChain;
26 class bdiScenarioChainSettings;
76 int update_settings(
const char* settings);
98 int do_stabilization_time_runoff(
float time_runoff);
114 void set_is_frozen(
int is_frozen);
173 int set_chain_mass_connection_character(
int chain_mass_index,
174 const char* character_name,
175 const char* link_name = NULL,
176 float link_offset_x = 0.0f,
177 float link_offset_y = 0.0f,
178 float link_offset_z = 0.0f,
179 float connection_smoothing_period = 0.1f);
208 int set_chain_mass_position(
int chain_mass_index,
212 int fix_mass_position);
237 int set_chain_mass_positions_along_path_shape(
diguyPathShape* path_shape,
238 int stretch_to_fit = 1);
262 int set_chain_mass_position_is_fixed(
int chain_mass_index,
270 int get_chain_mass_position_is_fixed(
int mass_index);
284 #ifdef CPLUSPLUS_ONLY
286 bdiScenarioChain* get_scripted_object() {
return m_scripted_object;}
303 bdiScenarioChain* m_scripted_object;
305 friend class bdiScenarioChain;
wrapper around a chain simulation
Definition: diguyChainSimulation.h:35
Represents a scriptable api wrapping a diguy path shape, a curve defined by with a number of waypoint...
Definition: diguyPathShape.h:36
chain settings.. Rarely used
Definition: diguyChainSettings.h:32