You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Bring that Whole New World to the Old Continent too
Applies the clang-format style to the 2.1 branch as done for master in
5dbf1809c6.
This commit is contained in:
@@ -36,78 +36,78 @@ class PhysicsDirectSpaceState;
|
||||
|
||||
class PhysicsDirectBodyState : public Object {
|
||||
|
||||
OBJ_TYPE( PhysicsDirectBodyState, Object );
|
||||
OBJ_TYPE(PhysicsDirectBodyState, Object);
|
||||
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
|
||||
public:
|
||||
virtual Vector3 get_total_gravity() const = 0;
|
||||
virtual float get_total_angular_damp() const = 0;
|
||||
virtual float get_total_linear_damp() const = 0;
|
||||
|
||||
virtual Vector3 get_total_gravity() const=0;
|
||||
virtual float get_total_angular_damp() const=0;
|
||||
virtual float get_total_linear_damp() const=0;
|
||||
virtual float get_inverse_mass() const = 0; // get the mass
|
||||
virtual Vector3 get_inverse_inertia() const = 0; // get density of this body space
|
||||
virtual Matrix3 get_inverse_inertia_tensor() const = 0; // get density of this body space
|
||||
|
||||
virtual float get_inverse_mass() const=0; // get the mass
|
||||
virtual Vector3 get_inverse_inertia() const=0; // get density of this body space
|
||||
virtual Matrix3 get_inverse_inertia_tensor() const=0; // get density of this body space
|
||||
virtual void set_linear_velocity(const Vector3 &p_velocity) = 0;
|
||||
virtual Vector3 get_linear_velocity() const = 0;
|
||||
|
||||
virtual void set_linear_velocity(const Vector3& p_velocity)=0;
|
||||
virtual Vector3 get_linear_velocity() const=0;
|
||||
virtual void set_angular_velocity(const Vector3 &p_velocity) = 0;
|
||||
virtual Vector3 get_angular_velocity() const = 0;
|
||||
|
||||
virtual void set_angular_velocity(const Vector3& p_velocity)=0;
|
||||
virtual Vector3 get_angular_velocity() const=0;
|
||||
virtual void set_transform(const Transform &p_transform) = 0;
|
||||
virtual Transform get_transform() const = 0;
|
||||
|
||||
virtual void set_transform(const Transform& p_transform)=0;
|
||||
virtual Transform get_transform() const=0;
|
||||
virtual void add_force(const Vector3 &p_force, const Vector3 &p_pos) = 0;
|
||||
virtual void apply_impulse(const Vector3 &p_pos, const Vector3 &p_j) = 0;
|
||||
|
||||
virtual void add_force(const Vector3& p_force, const Vector3& p_pos)=0;
|
||||
virtual void apply_impulse(const Vector3& p_pos, const Vector3& p_j)=0;
|
||||
virtual void set_sleep_state(bool p_enable) = 0;
|
||||
virtual bool is_sleeping() const = 0;
|
||||
|
||||
virtual void set_sleep_state(bool p_enable)=0;
|
||||
virtual bool is_sleeping() const=0;
|
||||
virtual int get_contact_count() const = 0;
|
||||
|
||||
virtual int get_contact_count() const=0;
|
||||
virtual Vector3 get_contact_local_pos(int p_contact_idx) const = 0;
|
||||
virtual Vector3 get_contact_local_normal(int p_contact_idx) const = 0;
|
||||
virtual int get_contact_local_shape(int p_contact_idx) const = 0;
|
||||
|
||||
virtual Vector3 get_contact_local_pos(int p_contact_idx) const=0;
|
||||
virtual Vector3 get_contact_local_normal(int p_contact_idx) const=0;
|
||||
virtual int get_contact_local_shape(int p_contact_idx) const=0;
|
||||
virtual RID get_contact_collider(int p_contact_idx) const = 0;
|
||||
virtual Vector3 get_contact_collider_pos(int p_contact_idx) const = 0;
|
||||
virtual ObjectID get_contact_collider_id(int p_contact_idx) const = 0;
|
||||
virtual Object *get_contact_collider_object(int p_contact_idx) const;
|
||||
virtual int get_contact_collider_shape(int p_contact_idx) const = 0;
|
||||
virtual Vector3 get_contact_collider_velocity_at_pos(int p_contact_idx) const = 0;
|
||||
|
||||
virtual RID get_contact_collider(int p_contact_idx) const=0;
|
||||
virtual Vector3 get_contact_collider_pos(int p_contact_idx) const=0;
|
||||
virtual ObjectID get_contact_collider_id(int p_contact_idx) const=0;
|
||||
virtual Object* get_contact_collider_object(int p_contact_idx) const;
|
||||
virtual int get_contact_collider_shape(int p_contact_idx) const=0;
|
||||
virtual Vector3 get_contact_collider_velocity_at_pos(int p_contact_idx) const=0;
|
||||
|
||||
virtual real_t get_step() const=0;
|
||||
virtual real_t get_step() const = 0;
|
||||
virtual void integrate_forces();
|
||||
|
||||
virtual PhysicsDirectSpaceState* get_space_state()=0;
|
||||
virtual PhysicsDirectSpaceState *get_space_state() = 0;
|
||||
|
||||
PhysicsDirectBodyState();
|
||||
};
|
||||
|
||||
|
||||
class PhysicsShapeQueryResult;
|
||||
|
||||
class PhysicsShapeQueryParameters : public Reference {
|
||||
|
||||
OBJ_TYPE(PhysicsShapeQueryParameters, Reference);
|
||||
friend class PhysicsDirectSpaceState;
|
||||
friend class PhysicsDirectSpaceState;
|
||||
RID shape;
|
||||
Transform transform;
|
||||
float margin;
|
||||
Set<RID> exclude;
|
||||
uint32_t layer_mask;
|
||||
uint32_t object_type_mask;
|
||||
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
|
||||
public:
|
||||
|
||||
|
||||
void set_shape(const RES& p_shape);
|
||||
void set_shape_rid(const RID& p_shape);
|
||||
void set_shape(const RES &p_shape);
|
||||
void set_shape_rid(const RID &p_shape);
|
||||
RID get_shape_rid() const;
|
||||
|
||||
void set_transform(const Transform& p_transform);
|
||||
void set_transform(const Transform &p_transform);
|
||||
Transform get_transform() const;
|
||||
|
||||
void set_margin(float p_margin);
|
||||
@@ -119,47 +119,39 @@ public:
|
||||
void set_object_type_mask(int p_object_type_mask);
|
||||
int get_object_type_mask() const;
|
||||
|
||||
void set_exclude(const Vector<RID>& p_exclude);
|
||||
void set_exclude(const Vector<RID> &p_exclude);
|
||||
Vector<RID> get_exclude() const;
|
||||
|
||||
PhysicsShapeQueryParameters();
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
class PhysicsDirectSpaceState : public Object {
|
||||
|
||||
OBJ_TYPE( PhysicsDirectSpaceState, Object );
|
||||
OBJ_TYPE(PhysicsDirectSpaceState, Object);
|
||||
|
||||
// Variant _intersect_ray(const Vector3& p_from, const Vector3& p_to,const Vector<RID>& p_exclude=Vector<RID>(),uint32_t p_collision_mask=0);
|
||||
// Variant _intersect_shape(const RID& p_shape, const Transform& p_xform,int p_result_max=64,const Vector<RID>& p_exclude=Vector<RID>(),uint32_t p_collision_mask=0);
|
||||
// Variant _intersect_ray(const Vector3& p_from, const Vector3& p_to,const Vector<RID>& p_exclude=Vector<RID>(),uint32_t p_collision_mask=0);
|
||||
// Variant _intersect_shape(const RID& p_shape, const Transform& p_xform,int p_result_max=64,const Vector<RID>& p_exclude=Vector<RID>(),uint32_t p_collision_mask=0);
|
||||
public:
|
||||
|
||||
enum ObjectTypeMask {
|
||||
TYPE_MASK_STATIC_BODY=1<<0,
|
||||
TYPE_MASK_KINEMATIC_BODY=1<<1,
|
||||
TYPE_MASK_RIGID_BODY=1<<2,
|
||||
TYPE_MASK_CHARACTER_BODY=1<<3,
|
||||
TYPE_MASK_AREA=1<<4,
|
||||
TYPE_MASK_COLLISION=TYPE_MASK_STATIC_BODY|TYPE_MASK_CHARACTER_BODY|TYPE_MASK_KINEMATIC_BODY|TYPE_MASK_RIGID_BODY
|
||||
TYPE_MASK_STATIC_BODY = 1 << 0,
|
||||
TYPE_MASK_KINEMATIC_BODY = 1 << 1,
|
||||
TYPE_MASK_RIGID_BODY = 1 << 2,
|
||||
TYPE_MASK_CHARACTER_BODY = 1 << 3,
|
||||
TYPE_MASK_AREA = 1 << 4,
|
||||
TYPE_MASK_COLLISION = TYPE_MASK_STATIC_BODY | TYPE_MASK_CHARACTER_BODY | TYPE_MASK_KINEMATIC_BODY | TYPE_MASK_RIGID_BODY
|
||||
};
|
||||
|
||||
|
||||
private:
|
||||
Dictionary _intersect_ray(const Vector3& p_from, const Vector3& p_to,const Vector<RID>& p_exclude=Vector<RID>(),uint32_t p_layers=0,uint32_t p_object_type_mask=TYPE_MASK_COLLISION);
|
||||
Array _intersect_shape(const Ref<PhysicsShapeQueryParameters> &p_shape_query,int p_max_results=32);
|
||||
Array _cast_motion(const Ref<PhysicsShapeQueryParameters> &p_shape_query,const Vector3& p_motion);
|
||||
Array _collide_shape(const Ref<PhysicsShapeQueryParameters> &p_shape_query,int p_max_results=32);
|
||||
Dictionary _intersect_ray(const Vector3 &p_from, const Vector3 &p_to, const Vector<RID> &p_exclude = Vector<RID>(), uint32_t p_layers = 0, uint32_t p_object_type_mask = TYPE_MASK_COLLISION);
|
||||
Array _intersect_shape(const Ref<PhysicsShapeQueryParameters> &p_shape_query, int p_max_results = 32);
|
||||
Array _cast_motion(const Ref<PhysicsShapeQueryParameters> &p_shape_query, const Vector3 &p_motion);
|
||||
Array _collide_shape(const Ref<PhysicsShapeQueryParameters> &p_shape_query, int p_max_results = 32);
|
||||
Dictionary _get_rest_info(const Ref<PhysicsShapeQueryParameters> &p_shape_query);
|
||||
|
||||
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
|
||||
public:
|
||||
|
||||
|
||||
struct RayResult {
|
||||
|
||||
Vector3 position;
|
||||
@@ -170,7 +162,7 @@ public:
|
||||
int shape;
|
||||
};
|
||||
|
||||
virtual bool intersect_ray(const Vector3& p_from, const Vector3& p_to,RayResult &r_result,const Set<RID>& p_exclude=Set<RID>(),uint32_t p_layer_mask=0xFFFFFFFF,uint32_t p_object_type_mask=TYPE_MASK_COLLISION,bool p_pick_ray=false)=0;
|
||||
virtual bool intersect_ray(const Vector3 &p_from, const Vector3 &p_to, RayResult &r_result, const Set<RID> &p_exclude = Set<RID>(), uint32_t p_layer_mask = 0xFFFFFFFF, uint32_t p_object_type_mask = TYPE_MASK_COLLISION, bool p_pick_ray = false) = 0;
|
||||
|
||||
struct ShapeResult {
|
||||
|
||||
@@ -178,10 +170,9 @@ public:
|
||||
ObjectID collider_id;
|
||||
Object *collider;
|
||||
int shape;
|
||||
|
||||
};
|
||||
|
||||
virtual int intersect_shape(const RID& p_shape, const Transform& p_xform,float p_margin,ShapeResult *r_results,int p_result_max,const Set<RID>& p_exclude=Set<RID>(),uint32_t p_layer_mask=0xFFFFFFFF,uint32_t p_object_type_mask=TYPE_MASK_COLLISION)=0;
|
||||
virtual int intersect_shape(const RID &p_shape, const Transform &p_xform, float p_margin, ShapeResult *r_results, int p_result_max, const Set<RID> &p_exclude = Set<RID>(), uint32_t p_layer_mask = 0xFFFFFFFF, uint32_t p_object_type_mask = TYPE_MASK_COLLISION) = 0;
|
||||
|
||||
struct ShapeRestInfo {
|
||||
|
||||
@@ -191,55 +182,49 @@ public:
|
||||
ObjectID collider_id;
|
||||
int shape;
|
||||
Vector3 linear_velocity; //velocity at contact point
|
||||
|
||||
};
|
||||
|
||||
virtual bool cast_motion(const RID& p_shape, const Transform& p_xform,const Vector3& p_motion,float p_margin,float &p_closest_safe,float &p_closest_unsafe, const Set<RID>& p_exclude=Set<RID>(),uint32_t p_layer_mask=0xFFFFFFFF,uint32_t p_object_type_mask=TYPE_MASK_COLLISION,ShapeRestInfo *r_info=NULL)=0;
|
||||
virtual bool cast_motion(const RID &p_shape, const Transform &p_xform, const Vector3 &p_motion, float p_margin, float &p_closest_safe, float &p_closest_unsafe, const Set<RID> &p_exclude = Set<RID>(), uint32_t p_layer_mask = 0xFFFFFFFF, uint32_t p_object_type_mask = TYPE_MASK_COLLISION, ShapeRestInfo *r_info = NULL) = 0;
|
||||
|
||||
virtual bool collide_shape(RID p_shape, const Transform& p_shape_xform,float p_margin,Vector3 *r_results,int p_result_max,int &r_result_count, const Set<RID>& p_exclude=Set<RID>(),uint32_t p_layer_mask=0xFFFFFFFF,uint32_t p_object_type_mask=TYPE_MASK_COLLISION)=0;
|
||||
|
||||
virtual bool rest_info(RID p_shape, const Transform& p_shape_xform,float p_margin,ShapeRestInfo *r_info, const Set<RID>& p_exclude=Set<RID>(),uint32_t p_layer_mask=0xFFFFFFFF,uint32_t p_object_type_mask=TYPE_MASK_COLLISION)=0;
|
||||
virtual bool collide_shape(RID p_shape, const Transform &p_shape_xform, float p_margin, Vector3 *r_results, int p_result_max, int &r_result_count, const Set<RID> &p_exclude = Set<RID>(), uint32_t p_layer_mask = 0xFFFFFFFF, uint32_t p_object_type_mask = TYPE_MASK_COLLISION) = 0;
|
||||
|
||||
virtual bool rest_info(RID p_shape, const Transform &p_shape_xform, float p_margin, ShapeRestInfo *r_info, const Set<RID> &p_exclude = Set<RID>(), uint32_t p_layer_mask = 0xFFFFFFFF, uint32_t p_object_type_mask = TYPE_MASK_COLLISION) = 0;
|
||||
|
||||
PhysicsDirectSpaceState();
|
||||
};
|
||||
|
||||
|
||||
class PhysicsShapeQueryResult : public Reference {
|
||||
|
||||
OBJ_TYPE( PhysicsShapeQueryResult, Reference );
|
||||
OBJ_TYPE(PhysicsShapeQueryResult, Reference);
|
||||
|
||||
Vector<PhysicsDirectSpaceState::ShapeResult> result;
|
||||
|
||||
friend class PhysicsDirectSpaceState;
|
||||
friend class PhysicsDirectSpaceState;
|
||||
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
public:
|
||||
|
||||
public:
|
||||
int get_result_count() const;
|
||||
RID get_result_rid(int p_idx) const;
|
||||
ObjectID get_result_object_id(int p_idx) const;
|
||||
Object* get_result_object(int p_idx) const;
|
||||
Object *get_result_object(int p_idx) const;
|
||||
int get_result_object_shape(int p_idx) const;
|
||||
|
||||
PhysicsShapeQueryResult();
|
||||
};
|
||||
|
||||
|
||||
class PhysicsServer : public Object {
|
||||
|
||||
OBJ_TYPE( PhysicsServer, Object );
|
||||
|
||||
static PhysicsServer * singleton;
|
||||
OBJ_TYPE(PhysicsServer, Object);
|
||||
|
||||
static PhysicsServer *singleton;
|
||||
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
|
||||
public:
|
||||
|
||||
static PhysicsServer * get_singleton();
|
||||
static PhysicsServer *get_singleton();
|
||||
|
||||
enum ShapeType {
|
||||
SHAPE_PLANE, ///< plane:"plane"
|
||||
@@ -253,20 +238,19 @@ public:
|
||||
SHAPE_CUSTOM, ///< Server-Implementation based custom shape, calling shape_create() with this value will result in an error
|
||||
};
|
||||
|
||||
virtual RID shape_create(ShapeType p_shape)=0;
|
||||
virtual void shape_set_data(RID p_shape, const Variant& p_data)=0;
|
||||
virtual void shape_set_custom_solver_bias(RID p_shape, real_t p_bias)=0;
|
||||
|
||||
virtual ShapeType shape_get_type(RID p_shape) const=0;
|
||||
virtual Variant shape_get_data(RID p_shape) const=0;
|
||||
virtual real_t shape_get_custom_solver_bias(RID p_shape) const=0;
|
||||
virtual RID shape_create(ShapeType p_shape) = 0;
|
||||
virtual void shape_set_data(RID p_shape, const Variant &p_data) = 0;
|
||||
virtual void shape_set_custom_solver_bias(RID p_shape, real_t p_bias) = 0;
|
||||
|
||||
virtual ShapeType shape_get_type(RID p_shape) const = 0;
|
||||
virtual Variant shape_get_data(RID p_shape) const = 0;
|
||||
virtual real_t shape_get_custom_solver_bias(RID p_shape) const = 0;
|
||||
|
||||
/* SPACE API */
|
||||
|
||||
virtual RID space_create()=0;
|
||||
virtual void space_set_active(RID p_space,bool p_active)=0;
|
||||
virtual bool space_is_active(RID p_space) const=0;
|
||||
virtual RID space_create() = 0;
|
||||
virtual void space_set_active(RID p_space, bool p_active) = 0;
|
||||
virtual bool space_is_active(RID p_space) const = 0;
|
||||
|
||||
enum SpaceParameter {
|
||||
|
||||
@@ -280,15 +264,15 @@ public:
|
||||
SPACE_PARAM_CONSTRAINT_DEFAULT_BIAS,
|
||||
};
|
||||
|
||||
virtual void space_set_param(RID p_space,SpaceParameter p_param, real_t p_value)=0;
|
||||
virtual real_t space_get_param(RID p_space,SpaceParameter p_param) const=0;
|
||||
virtual void space_set_param(RID p_space, SpaceParameter p_param, real_t p_value) = 0;
|
||||
virtual real_t space_get_param(RID p_space, SpaceParameter p_param) const = 0;
|
||||
|
||||
// this function only works on fixed process, errors and returns null otherwise
|
||||
virtual PhysicsDirectSpaceState* space_get_direct_state(RID p_space)=0;
|
||||
virtual PhysicsDirectSpaceState *space_get_direct_state(RID p_space) = 0;
|
||||
|
||||
virtual void space_set_debug_contacts(RID p_space,int p_max_contacts)=0;
|
||||
virtual Vector<Vector3> space_get_contacts(RID p_space) const=0;
|
||||
virtual int space_get_contact_count(RID p_space) const=0;
|
||||
virtual void space_set_debug_contacts(RID p_space, int p_max_contacts) = 0;
|
||||
virtual Vector<Vector3> space_get_contacts(RID p_space) const = 0;
|
||||
virtual int space_get_contact_count(RID p_space) const = 0;
|
||||
|
||||
//missing space parameters
|
||||
|
||||
@@ -296,8 +280,6 @@ public:
|
||||
|
||||
//missing attenuation? missing better override?
|
||||
|
||||
|
||||
|
||||
enum AreaParameter {
|
||||
AREA_PARAM_GRAVITY,
|
||||
AREA_PARAM_GRAVITY_VECTOR,
|
||||
@@ -309,11 +291,10 @@ public:
|
||||
AREA_PARAM_PRIORITY
|
||||
};
|
||||
|
||||
virtual RID area_create()=0;
|
||||
|
||||
virtual void area_set_space(RID p_area, RID p_space)=0;
|
||||
virtual RID area_get_space(RID p_area) const=0;
|
||||
virtual RID area_create() = 0;
|
||||
|
||||
virtual void area_set_space(RID p_area, RID p_space) = 0;
|
||||
virtual RID area_get_space(RID p_area) const = 0;
|
||||
|
||||
enum AreaSpaceOverrideMode {
|
||||
AREA_SPACE_OVERRIDE_DISABLED,
|
||||
@@ -323,39 +304,39 @@ public:
|
||||
AREA_SPACE_OVERRIDE_REPLACE_COMBINE
|
||||
};
|
||||
|
||||
virtual void area_set_space_override_mode(RID p_area, AreaSpaceOverrideMode p_mode)=0;
|
||||
virtual AreaSpaceOverrideMode area_get_space_override_mode(RID p_area) const=0;
|
||||
virtual void area_set_space_override_mode(RID p_area, AreaSpaceOverrideMode p_mode) = 0;
|
||||
virtual AreaSpaceOverrideMode area_get_space_override_mode(RID p_area) const = 0;
|
||||
|
||||
virtual void area_add_shape(RID p_area, RID p_shape, const Transform& p_transform=Transform())=0;
|
||||
virtual void area_set_shape(RID p_area, int p_shape_idx,RID p_shape)=0;
|
||||
virtual void area_set_shape_transform(RID p_area, int p_shape_idx, const Transform& p_transform)=0;
|
||||
virtual void area_add_shape(RID p_area, RID p_shape, const Transform &p_transform = Transform()) = 0;
|
||||
virtual void area_set_shape(RID p_area, int p_shape_idx, RID p_shape) = 0;
|
||||
virtual void area_set_shape_transform(RID p_area, int p_shape_idx, const Transform &p_transform) = 0;
|
||||
|
||||
virtual int area_get_shape_count(RID p_area) const=0;
|
||||
virtual RID area_get_shape(RID p_area, int p_shape_idx) const=0;
|
||||
virtual Transform area_get_shape_transform(RID p_area, int p_shape_idx) const=0;
|
||||
virtual int area_get_shape_count(RID p_area) const = 0;
|
||||
virtual RID area_get_shape(RID p_area, int p_shape_idx) const = 0;
|
||||
virtual Transform area_get_shape_transform(RID p_area, int p_shape_idx) const = 0;
|
||||
|
||||
virtual void area_remove_shape(RID p_area, int p_shape_idx)=0;
|
||||
virtual void area_clear_shapes(RID p_area)=0;
|
||||
virtual void area_remove_shape(RID p_area, int p_shape_idx) = 0;
|
||||
virtual void area_clear_shapes(RID p_area) = 0;
|
||||
|
||||
virtual void area_attach_object_instance_ID(RID p_area,ObjectID p_ID)=0;
|
||||
virtual ObjectID area_get_object_instance_ID(RID p_area) const=0;
|
||||
virtual void area_attach_object_instance_ID(RID p_area, ObjectID p_ID) = 0;
|
||||
virtual ObjectID area_get_object_instance_ID(RID p_area) const = 0;
|
||||
|
||||
virtual void area_set_param(RID p_area,AreaParameter p_param,const Variant& p_value)=0;
|
||||
virtual void area_set_transform(RID p_area, const Transform& p_transform)=0;
|
||||
virtual void area_set_param(RID p_area, AreaParameter p_param, const Variant &p_value) = 0;
|
||||
virtual void area_set_transform(RID p_area, const Transform &p_transform) = 0;
|
||||
|
||||
virtual Variant area_get_param(RID p_parea,AreaParameter p_param) const=0;
|
||||
virtual Transform area_get_transform(RID p_area) const=0;
|
||||
virtual Variant area_get_param(RID p_parea, AreaParameter p_param) const = 0;
|
||||
virtual Transform area_get_transform(RID p_area) const = 0;
|
||||
|
||||
virtual void area_set_collision_mask(RID p_area,uint32_t p_mask)=0;
|
||||
virtual void area_set_layer_mask(RID p_area,uint32_t p_mask)=0;
|
||||
virtual void area_set_collision_mask(RID p_area, uint32_t p_mask) = 0;
|
||||
virtual void area_set_layer_mask(RID p_area, uint32_t p_mask) = 0;
|
||||
|
||||
virtual void area_set_monitorable(RID p_area,bool p_monitorable)=0;
|
||||
virtual void area_set_monitorable(RID p_area, bool p_monitorable) = 0;
|
||||
|
||||
virtual void area_set_monitor_callback(RID p_area,Object *p_receiver,const StringName& p_method)=0;
|
||||
virtual void area_set_area_monitor_callback(RID p_area,Object *p_receiver,const StringName& p_method)=0;
|
||||
virtual void area_set_monitor_callback(RID p_area, Object *p_receiver, const StringName &p_method) = 0;
|
||||
virtual void area_set_area_monitor_callback(RID p_area, Object *p_receiver, const StringName &p_method) = 0;
|
||||
|
||||
virtual void area_set_ray_pickable(RID p_area,bool p_enable)=0;
|
||||
virtual bool area_is_ray_pickable(RID p_area) const=0;
|
||||
virtual void area_set_ray_pickable(RID p_area, bool p_enable) = 0;
|
||||
virtual bool area_is_ray_pickable(RID p_area) const = 0;
|
||||
|
||||
/* BODY API */
|
||||
|
||||
@@ -369,42 +350,42 @@ public:
|
||||
BODY_MODE_CHARACTER
|
||||
};
|
||||
|
||||
virtual RID body_create(BodyMode p_mode=BODY_MODE_RIGID,bool p_init_sleeping=false)=0;
|
||||
virtual RID body_create(BodyMode p_mode = BODY_MODE_RIGID, bool p_init_sleeping = false) = 0;
|
||||
|
||||
virtual void body_set_space(RID p_body, RID p_space)=0;
|
||||
virtual RID body_get_space(RID p_body) const=0;
|
||||
virtual void body_set_space(RID p_body, RID p_space) = 0;
|
||||
virtual RID body_get_space(RID p_body) const = 0;
|
||||
|
||||
virtual void body_set_mode(RID p_body, BodyMode p_mode)=0;
|
||||
virtual BodyMode body_get_mode(RID p_body) const=0;
|
||||
virtual void body_set_mode(RID p_body, BodyMode p_mode) = 0;
|
||||
virtual BodyMode body_get_mode(RID p_body) const = 0;
|
||||
|
||||
virtual void body_add_shape(RID p_body, RID p_shape, const Transform& p_transform=Transform())=0;
|
||||
virtual void body_set_shape(RID p_body, int p_shape_idx,RID p_shape)=0;
|
||||
virtual void body_set_shape_transform(RID p_body, int p_shape_idx, const Transform& p_transform)=0;
|
||||
virtual void body_add_shape(RID p_body, RID p_shape, const Transform &p_transform = Transform()) = 0;
|
||||
virtual void body_set_shape(RID p_body, int p_shape_idx, RID p_shape) = 0;
|
||||
virtual void body_set_shape_transform(RID p_body, int p_shape_idx, const Transform &p_transform) = 0;
|
||||
|
||||
virtual int body_get_shape_count(RID p_body) const=0;
|
||||
virtual RID body_get_shape(RID p_body, int p_shape_idx) const=0;
|
||||
virtual Transform body_get_shape_transform(RID p_body, int p_shape_idx) const=0;
|
||||
virtual int body_get_shape_count(RID p_body) const = 0;
|
||||
virtual RID body_get_shape(RID p_body, int p_shape_idx) const = 0;
|
||||
virtual Transform body_get_shape_transform(RID p_body, int p_shape_idx) const = 0;
|
||||
|
||||
virtual void body_set_shape_as_trigger(RID p_body, int p_shape_idx,bool p_enable)=0;
|
||||
virtual bool body_is_shape_set_as_trigger(RID p_body, int p_shape_idx) const=0;
|
||||
virtual void body_set_shape_as_trigger(RID p_body, int p_shape_idx, bool p_enable) = 0;
|
||||
virtual bool body_is_shape_set_as_trigger(RID p_body, int p_shape_idx) const = 0;
|
||||
|
||||
virtual void body_remove_shape(RID p_body, int p_shape_idx)=0;
|
||||
virtual void body_clear_shapes(RID p_body)=0;
|
||||
virtual void body_remove_shape(RID p_body, int p_shape_idx) = 0;
|
||||
virtual void body_clear_shapes(RID p_body) = 0;
|
||||
|
||||
virtual void body_attach_object_instance_ID(RID p_body,uint32_t p_ID)=0;
|
||||
virtual uint32_t body_get_object_instance_ID(RID p_body) const=0;
|
||||
virtual void body_attach_object_instance_ID(RID p_body, uint32_t p_ID) = 0;
|
||||
virtual uint32_t body_get_object_instance_ID(RID p_body) const = 0;
|
||||
|
||||
virtual void body_set_enable_continuous_collision_detection(RID p_body,bool p_enable)=0;
|
||||
virtual bool body_is_continuous_collision_detection_enabled(RID p_body) const=0;
|
||||
virtual void body_set_enable_continuous_collision_detection(RID p_body, bool p_enable) = 0;
|
||||
virtual bool body_is_continuous_collision_detection_enabled(RID p_body) const = 0;
|
||||
|
||||
virtual void body_set_layer_mask(RID p_body, uint32_t p_mask)=0;
|
||||
virtual uint32_t body_get_layer_mask(RID p_body, uint32_t p_mask) const=0;
|
||||
virtual void body_set_layer_mask(RID p_body, uint32_t p_mask) = 0;
|
||||
virtual uint32_t body_get_layer_mask(RID p_body, uint32_t p_mask) const = 0;
|
||||
|
||||
virtual void body_set_collision_mask(RID p_body, uint32_t p_mask)=0;
|
||||
virtual uint32_t body_get_collision_mask(RID p_body, uint32_t p_mask) const=0;
|
||||
virtual void body_set_collision_mask(RID p_body, uint32_t p_mask) = 0;
|
||||
virtual uint32_t body_get_collision_mask(RID p_body, uint32_t p_mask) const = 0;
|
||||
|
||||
virtual void body_set_user_flags(RID p_body, uint32_t p_flags)=0;
|
||||
virtual uint32_t body_get_user_flags(RID p_body, uint32_t p_flags) const=0;
|
||||
virtual void body_set_user_flags(RID p_body, uint32_t p_flags) = 0;
|
||||
virtual uint32_t body_get_user_flags(RID p_body, uint32_t p_flags) const = 0;
|
||||
|
||||
// common body variables
|
||||
enum BodyParameter {
|
||||
@@ -417,9 +398,8 @@ public:
|
||||
BODY_PARAM_MAX,
|
||||
};
|
||||
|
||||
virtual void body_set_param(RID p_body, BodyParameter p_param, float p_value)=0;
|
||||
virtual float body_get_param(RID p_body, BodyParameter p_param) const=0;
|
||||
|
||||
virtual void body_set_param(RID p_body, BodyParameter p_param, float p_value) = 0;
|
||||
virtual float body_get_param(RID p_body, BodyParameter p_param) const = 0;
|
||||
|
||||
//state
|
||||
enum BodyState {
|
||||
@@ -430,18 +410,18 @@ public:
|
||||
BODY_STATE_CAN_SLEEP
|
||||
};
|
||||
|
||||
virtual void body_set_state(RID p_body, BodyState p_state, const Variant& p_variant)=0;
|
||||
virtual Variant body_get_state(RID p_body, BodyState p_state) const=0;
|
||||
virtual void body_set_state(RID p_body, BodyState p_state, const Variant &p_variant) = 0;
|
||||
virtual Variant body_get_state(RID p_body, BodyState p_state) const = 0;
|
||||
|
||||
//do something about it
|
||||
virtual void body_set_applied_force(RID p_body, const Vector3& p_force)=0;
|
||||
virtual Vector3 body_get_applied_force(RID p_body) const=0;
|
||||
virtual void body_set_applied_force(RID p_body, const Vector3 &p_force) = 0;
|
||||
virtual Vector3 body_get_applied_force(RID p_body) const = 0;
|
||||
|
||||
virtual void body_set_applied_torque(RID p_body, const Vector3& p_torque)=0;
|
||||
virtual Vector3 body_get_applied_torque(RID p_body) const=0;
|
||||
virtual void body_set_applied_torque(RID p_body, const Vector3 &p_torque) = 0;
|
||||
virtual Vector3 body_get_applied_torque(RID p_body) const = 0;
|
||||
|
||||
virtual void body_apply_impulse(RID p_body, const Vector3& p_pos, const Vector3& p_impulse)=0;
|
||||
virtual void body_set_axis_velocity(RID p_body, const Vector3& p_axis_velocity)=0;
|
||||
virtual void body_apply_impulse(RID p_body, const Vector3 &p_pos, const Vector3 &p_impulse) = 0;
|
||||
virtual void body_set_axis_velocity(RID p_body, const Vector3 &p_axis_velocity) = 0;
|
||||
|
||||
enum BodyAxisLock {
|
||||
BODY_AXIS_LOCK_DISABLED,
|
||||
@@ -450,29 +430,28 @@ public:
|
||||
BODY_AXIS_LOCK_Z,
|
||||
};
|
||||
|
||||
virtual void body_set_axis_lock(RID p_body,BodyAxisLock p_lock)=0;
|
||||
virtual BodyAxisLock body_get_axis_lock(RID p_body) const=0;
|
||||
virtual void body_set_axis_lock(RID p_body, BodyAxisLock p_lock) = 0;
|
||||
virtual BodyAxisLock body_get_axis_lock(RID p_body) const = 0;
|
||||
|
||||
//fix
|
||||
virtual void body_add_collision_exception(RID p_body, RID p_body_b)=0;
|
||||
virtual void body_remove_collision_exception(RID p_body, RID p_body_b)=0;
|
||||
virtual void body_get_collision_exceptions(RID p_body, List<RID> *p_exceptions)=0;
|
||||
virtual void body_add_collision_exception(RID p_body, RID p_body_b) = 0;
|
||||
virtual void body_remove_collision_exception(RID p_body, RID p_body_b) = 0;
|
||||
virtual void body_get_collision_exceptions(RID p_body, List<RID> *p_exceptions) = 0;
|
||||
|
||||
virtual void body_set_max_contacts_reported(RID p_body, int p_contacts)=0;
|
||||
virtual int body_get_max_contacts_reported(RID p_body) const=0;
|
||||
virtual void body_set_max_contacts_reported(RID p_body, int p_contacts) = 0;
|
||||
virtual int body_get_max_contacts_reported(RID p_body) const = 0;
|
||||
|
||||
//missing remove
|
||||
virtual void body_set_contacts_reported_depth_treshold(RID p_body, float p_treshold)=0;
|
||||
virtual float body_get_contacts_reported_depth_treshold(RID p_body) const=0;
|
||||
virtual void body_set_contacts_reported_depth_treshold(RID p_body, float p_treshold) = 0;
|
||||
virtual float body_get_contacts_reported_depth_treshold(RID p_body) const = 0;
|
||||
|
||||
virtual void body_set_omit_force_integration(RID p_body,bool p_omit)=0;
|
||||
virtual bool body_is_omitting_force_integration(RID p_body) const=0;
|
||||
virtual void body_set_omit_force_integration(RID p_body, bool p_omit) = 0;
|
||||
virtual bool body_is_omitting_force_integration(RID p_body) const = 0;
|
||||
|
||||
virtual void body_set_force_integration_callback(RID p_body,Object *p_receiver,const StringName& p_method,const Variant& p_udata=Variant())=0;
|
||||
|
||||
virtual void body_set_ray_pickable(RID p_body,bool p_enable)=0;
|
||||
virtual bool body_is_ray_pickable(RID p_body) const=0;
|
||||
virtual void body_set_force_integration_callback(RID p_body, Object *p_receiver, const StringName &p_method, const Variant &p_udata = Variant()) = 0;
|
||||
|
||||
virtual void body_set_ray_pickable(RID p_body, bool p_enable) = 0;
|
||||
virtual bool body_is_ray_pickable(RID p_body) const = 0;
|
||||
|
||||
/* JOINT API */
|
||||
|
||||
@@ -486,13 +465,12 @@ public:
|
||||
|
||||
};
|
||||
|
||||
virtual JointType joint_get_type(RID p_joint) const=0;
|
||||
virtual JointType joint_get_type(RID p_joint) const = 0;
|
||||
|
||||
virtual void joint_set_solver_priority(RID p_joint,int p_priority)=0;
|
||||
virtual int joint_get_solver_priority(RID p_joint) const=0;
|
||||
virtual void joint_set_solver_priority(RID p_joint, int p_priority) = 0;
|
||||
virtual int joint_get_solver_priority(RID p_joint) const = 0;
|
||||
|
||||
|
||||
virtual RID joint_create_pin(RID p_body_A,const Vector3& p_local_A,RID p_body_B,const Vector3& p_local_B)=0;
|
||||
virtual RID joint_create_pin(RID p_body_A, const Vector3 &p_local_A, RID p_body_B, const Vector3 &p_local_B) = 0;
|
||||
|
||||
enum PinJointParam {
|
||||
PIN_JOINT_BIAS,
|
||||
@@ -500,14 +478,14 @@ public:
|
||||
PIN_JOINT_IMPULSE_CLAMP
|
||||
};
|
||||
|
||||
virtual void pin_joint_set_param(RID p_joint,PinJointParam p_param, float p_value)=0;
|
||||
virtual float pin_joint_get_param(RID p_joint,PinJointParam p_param) const=0;
|
||||
virtual void pin_joint_set_param(RID p_joint, PinJointParam p_param, float p_value) = 0;
|
||||
virtual float pin_joint_get_param(RID p_joint, PinJointParam p_param) const = 0;
|
||||
|
||||
virtual void pin_joint_set_local_A(RID p_joint, const Vector3& p_A)=0;
|
||||
virtual Vector3 pin_joint_get_local_A(RID p_joint) const=0;
|
||||
virtual void pin_joint_set_local_A(RID p_joint, const Vector3 &p_A) = 0;
|
||||
virtual Vector3 pin_joint_get_local_A(RID p_joint) const = 0;
|
||||
|
||||
virtual void pin_joint_set_local_B(RID p_joint, const Vector3& p_B)=0;
|
||||
virtual Vector3 pin_joint_get_local_B(RID p_joint) const=0;
|
||||
virtual void pin_joint_set_local_B(RID p_joint, const Vector3 &p_B) = 0;
|
||||
virtual Vector3 pin_joint_get_local_B(RID p_joint) const = 0;
|
||||
|
||||
enum HingeJointParam {
|
||||
|
||||
@@ -528,15 +506,14 @@ public:
|
||||
HINGE_JOINT_FLAG_MAX
|
||||
};
|
||||
|
||||
virtual RID joint_create_hinge(RID p_body_A,const Transform& p_hinge_A,RID p_body_B,const Transform& p_hinge_B)=0;
|
||||
virtual RID joint_create_hinge_simple(RID p_body_A,const Vector3& p_pivot_A,const Vector3& p_axis_A,RID p_body_B,const Vector3& p_pivot_B,const Vector3& p_axis_B)=0;
|
||||
virtual RID joint_create_hinge(RID p_body_A, const Transform &p_hinge_A, RID p_body_B, const Transform &p_hinge_B) = 0;
|
||||
virtual RID joint_create_hinge_simple(RID p_body_A, const Vector3 &p_pivot_A, const Vector3 &p_axis_A, RID p_body_B, const Vector3 &p_pivot_B, const Vector3 &p_axis_B) = 0;
|
||||
|
||||
virtual void hinge_joint_set_param(RID p_joint, HingeJointParam p_param, float p_value) = 0;
|
||||
virtual float hinge_joint_get_param(RID p_joint, HingeJointParam p_param) const = 0;
|
||||
|
||||
virtual void hinge_joint_set_param(RID p_joint,HingeJointParam p_param, float p_value)=0;
|
||||
virtual float hinge_joint_get_param(RID p_joint,HingeJointParam p_param) const=0;
|
||||
|
||||
virtual void hinge_joint_set_flag(RID p_joint,HingeJointFlag p_flag, bool p_value)=0;
|
||||
virtual bool hinge_joint_get_flag(RID p_joint,HingeJointFlag p_flag) const=0;
|
||||
virtual void hinge_joint_set_flag(RID p_joint, HingeJointFlag p_flag, bool p_value) = 0;
|
||||
virtual bool hinge_joint_get_flag(RID p_joint, HingeJointFlag p_flag) const = 0;
|
||||
|
||||
enum SliderJointParam {
|
||||
SLIDER_JOINT_LINEAR_LIMIT_UPPER,
|
||||
@@ -564,13 +541,12 @@ public:
|
||||
SLIDER_JOINT_ANGULAR_ORTHOGONAL_DAMPING,
|
||||
SLIDER_JOINT_MAX
|
||||
|
||||
|
||||
};
|
||||
|
||||
virtual RID joint_create_slider(RID p_body_A,const Transform& p_local_frame_A,RID p_body_B,const Transform& p_local_frame_B)=0; //reference frame is A
|
||||
virtual RID joint_create_slider(RID p_body_A, const Transform &p_local_frame_A, RID p_body_B, const Transform &p_local_frame_B) = 0; //reference frame is A
|
||||
|
||||
virtual void slider_joint_set_param(RID p_joint,SliderJointParam p_param, float p_value)=0;
|
||||
virtual float slider_joint_get_param(RID p_joint,SliderJointParam p_param) const=0;
|
||||
virtual void slider_joint_set_param(RID p_joint, SliderJointParam p_param, float p_value) = 0;
|
||||
virtual float slider_joint_get_param(RID p_joint, SliderJointParam p_param) const = 0;
|
||||
|
||||
enum ConeTwistJointParam {
|
||||
CONE_TWIST_JOINT_SWING_SPAN,
|
||||
@@ -581,12 +557,10 @@ public:
|
||||
CONE_TWIST_MAX
|
||||
};
|
||||
|
||||
virtual RID joint_create_cone_twist(RID p_body_A, const Transform &p_local_frame_A, RID p_body_B, const Transform &p_local_frame_B) = 0; //reference frame is A
|
||||
|
||||
virtual RID joint_create_cone_twist(RID p_body_A,const Transform& p_local_frame_A,RID p_body_B,const Transform& p_local_frame_B)=0; //reference frame is A
|
||||
|
||||
virtual void cone_twist_joint_set_param(RID p_joint,ConeTwistJointParam p_param, float p_value)=0;
|
||||
virtual float cone_twist_joint_get_param(RID p_joint,ConeTwistJointParam p_param) const=0;
|
||||
|
||||
virtual void cone_twist_joint_set_param(RID p_joint, ConeTwistJointParam p_param, float p_value) = 0;
|
||||
virtual float cone_twist_joint_get_param(RID p_joint, ConeTwistJointParam p_param) const = 0;
|
||||
|
||||
enum G6DOFJointAxisParam {
|
||||
G6DOF_JOINT_LINEAR_LOWER_LIMIT,
|
||||
@@ -614,16 +588,13 @@ public:
|
||||
G6DOF_JOINT_FLAG_MAX
|
||||
};
|
||||
|
||||
virtual RID joint_create_generic_6dof(RID p_body_A, const Transform &p_local_frame_A, RID p_body_B, const Transform &p_local_frame_B) = 0; //reference frame is A
|
||||
|
||||
virtual void generic_6dof_joint_set_param(RID p_joint, Vector3::Axis, G6DOFJointAxisParam p_param, float p_value) = 0;
|
||||
virtual float generic_6dof_joint_get_param(RID p_joint, Vector3::Axis, G6DOFJointAxisParam p_param) = 0;
|
||||
|
||||
virtual RID joint_create_generic_6dof(RID p_body_A,const Transform& p_local_frame_A,RID p_body_B,const Transform& p_local_frame_B)=0; //reference frame is A
|
||||
|
||||
virtual void generic_6dof_joint_set_param(RID p_joint,Vector3::Axis,G6DOFJointAxisParam p_param, float p_value)=0;
|
||||
virtual float generic_6dof_joint_get_param(RID p_joint,Vector3::Axis,G6DOFJointAxisParam p_param)=0;
|
||||
|
||||
virtual void generic_6dof_joint_set_flag(RID p_joint,Vector3::Axis,G6DOFJointAxisFlag p_flag, bool p_enable)=0;
|
||||
virtual bool generic_6dof_joint_get_flag(RID p_joint,Vector3::Axis,G6DOFJointAxisFlag p_flag)=0;
|
||||
|
||||
virtual void generic_6dof_joint_set_flag(RID p_joint, Vector3::Axis, G6DOFJointAxisFlag p_flag, bool p_enable) = 0;
|
||||
virtual bool generic_6dof_joint_get_flag(RID p_joint, Vector3::Axis, G6DOFJointAxisFlag p_flag) = 0;
|
||||
|
||||
#if 0
|
||||
enum JointType {
|
||||
@@ -663,17 +634,16 @@ public:
|
||||
AREA_BODY_REMOVED
|
||||
};
|
||||
|
||||
|
||||
/* MISC */
|
||||
|
||||
virtual void free(RID p_rid)=0;
|
||||
virtual void free(RID p_rid) = 0;
|
||||
|
||||
virtual void set_active(bool p_active)=0;
|
||||
virtual void init()=0;
|
||||
virtual void step(float p_step)=0;
|
||||
virtual void sync()=0;
|
||||
virtual void flush_queries()=0;
|
||||
virtual void finish()=0;
|
||||
virtual void set_active(bool p_active) = 0;
|
||||
virtual void init() = 0;
|
||||
virtual void step(float p_step) = 0;
|
||||
virtual void sync() = 0;
|
||||
virtual void flush_queries() = 0;
|
||||
virtual void finish() = 0;
|
||||
|
||||
enum ProcessInfo {
|
||||
|
||||
@@ -682,30 +652,30 @@ public:
|
||||
INFO_ISLAND_COUNT
|
||||
};
|
||||
|
||||
virtual int get_process_info(ProcessInfo p_info)=0;
|
||||
virtual int get_process_info(ProcessInfo p_info) = 0;
|
||||
|
||||
PhysicsServer();
|
||||
~PhysicsServer();
|
||||
};
|
||||
|
||||
VARIANT_ENUM_CAST( PhysicsServer::ShapeType );
|
||||
VARIANT_ENUM_CAST( PhysicsServer::SpaceParameter );
|
||||
VARIANT_ENUM_CAST( PhysicsServer::AreaParameter );
|
||||
VARIANT_ENUM_CAST( PhysicsServer::AreaSpaceOverrideMode );
|
||||
VARIANT_ENUM_CAST( PhysicsServer::BodyMode );
|
||||
VARIANT_ENUM_CAST( PhysicsServer::BodyParameter );
|
||||
VARIANT_ENUM_CAST( PhysicsServer::BodyState );
|
||||
VARIANT_ENUM_CAST( PhysicsServer::BodyAxisLock );
|
||||
VARIANT_ENUM_CAST( PhysicsServer::PinJointParam );
|
||||
VARIANT_ENUM_CAST( PhysicsServer::JointType );
|
||||
VARIANT_ENUM_CAST( PhysicsServer::HingeJointParam );
|
||||
VARIANT_ENUM_CAST( PhysicsServer::HingeJointFlag );
|
||||
VARIANT_ENUM_CAST( PhysicsServer::SliderJointParam );
|
||||
VARIANT_ENUM_CAST( PhysicsServer::ConeTwistJointParam );
|
||||
VARIANT_ENUM_CAST( PhysicsServer::G6DOFJointAxisParam );
|
||||
VARIANT_ENUM_CAST( PhysicsServer::G6DOFJointAxisFlag);
|
||||
VARIANT_ENUM_CAST(PhysicsServer::ShapeType);
|
||||
VARIANT_ENUM_CAST(PhysicsServer::SpaceParameter);
|
||||
VARIANT_ENUM_CAST(PhysicsServer::AreaParameter);
|
||||
VARIANT_ENUM_CAST(PhysicsServer::AreaSpaceOverrideMode);
|
||||
VARIANT_ENUM_CAST(PhysicsServer::BodyMode);
|
||||
VARIANT_ENUM_CAST(PhysicsServer::BodyParameter);
|
||||
VARIANT_ENUM_CAST(PhysicsServer::BodyState);
|
||||
VARIANT_ENUM_CAST(PhysicsServer::BodyAxisLock);
|
||||
VARIANT_ENUM_CAST(PhysicsServer::PinJointParam);
|
||||
VARIANT_ENUM_CAST(PhysicsServer::JointType);
|
||||
VARIANT_ENUM_CAST(PhysicsServer::HingeJointParam);
|
||||
VARIANT_ENUM_CAST(PhysicsServer::HingeJointFlag);
|
||||
VARIANT_ENUM_CAST(PhysicsServer::SliderJointParam);
|
||||
VARIANT_ENUM_CAST(PhysicsServer::ConeTwistJointParam);
|
||||
VARIANT_ENUM_CAST(PhysicsServer::G6DOFJointAxisParam);
|
||||
VARIANT_ENUM_CAST(PhysicsServer::G6DOFJointAxisFlag);
|
||||
//VARIANT_ENUM_CAST( PhysicsServer::ObjectType );
|
||||
VARIANT_ENUM_CAST( PhysicsServer::AreaBodyStatus );
|
||||
VARIANT_ENUM_CAST( PhysicsServer::ProcessInfo );
|
||||
VARIANT_ENUM_CAST(PhysicsServer::AreaBodyStatus);
|
||||
VARIANT_ENUM_CAST(PhysicsServer::ProcessInfo);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user