14 #ifndef __diguyPathShape_H
15 #define __diguyPathShape_H
20 #define CPLUSPLUS_ONLY
24 class bdiScenarioPathShape;
63 const char* get_name();
74 int set_name(
const char* name);
108 int set_clamp_at_end_flag(
int value);
115 int get_clamp_at_end_flag();
170 int get_point_at_distance(
float distance_into_path_shape,
171 float* x,
float* y,
float* z,
172 float* rz,
float* rx,
float* ry);
190 int get_num_waypoints();
237 diguyWaypoint* create_waypoint(
float x = 0.0f,
float y = 0.0f,
float z = 0.0f,
238 float yaw = 0.0f,
float roll = 0.0f,
float pitch = 0.0f,
302 void set_use_as_navmesh_portal(
int use_as_portal);
314 int get_use_as_navmesh_portal();
328 void set_one_way_portal(
int one_way);
340 int get_one_way_portal();
356 int translate(
float tx,
float ty,
float tz);
358 int rotate_about_point(
float rz,
float rx,
float ry,
359 float rotation_pt_x,
float rotation_pt_y,
float rotation_pt_z);
361 int set_ground_clamp_when_on_path(
int ground_clamp_when_on_path);
362 int get_ground_clamp_when_on_path();
368 #ifdef CPLUSPLUS_ONLY
370 bdiScenarioPathShape* get_scripted_object() {
return m_path_shape;}
382 bdiScenarioPathShape* m_path_shape;
384 friend class bdiScenarioPathShape;
Represents a scriptable api wrapping a diguy path shape, a curve defined by with a number of waypoint...
Definition: diguyPathShape.h:36
Represents the scenario currently being portrayed.
Definition: diguyScenario.h:99
Represents a scriptable api wrapping a 3D point on a path.
Definition: diguyWaypoint.h:35