Use real_t in physics nodes
This commit is contained in:
@@ -53,7 +53,7 @@ protected:
|
||||
CollisionObject2D *parent;
|
||||
bool disabled;
|
||||
bool one_way_collision;
|
||||
float one_way_collision_margin;
|
||||
real_t one_way_collision_margin;
|
||||
|
||||
Vector<Vector<Vector2>> _decompose_in_convex();
|
||||
|
||||
@@ -86,8 +86,8 @@ public:
|
||||
void set_one_way_collision(bool p_enable);
|
||||
bool is_one_way_collision_enabled() const;
|
||||
|
||||
void set_one_way_collision_margin(float p_margin);
|
||||
float get_one_way_collision_margin() const;
|
||||
void set_one_way_collision_margin(real_t p_margin);
|
||||
real_t get_one_way_collision_margin() const;
|
||||
|
||||
CollisionPolygon2D();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user