summaryrefslogtreecommitdiff
path: root/scene/3d/physics_body.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/physics_body.h')
-rw-r--r--scene/3d/physics_body.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/scene/3d/physics_body.h b/scene/3d/physics_body.h
index 1bb85929fd..9f317745b3 100644
--- a/scene/3d/physics_body.h
+++ b/scene/3d/physics_body.h
@@ -36,7 +36,7 @@
class PhysicsBody : public CollisionObject {
- OBJ_TYPE(PhysicsBody,CollisionObject);
+ GDCLASS(PhysicsBody,CollisionObject);
uint32_t layer_mask;
uint32_t collision_mask;
@@ -78,7 +78,7 @@ public:
class StaticBody : public PhysicsBody {
- OBJ_TYPE(StaticBody,PhysicsBody);
+ GDCLASS(StaticBody,PhysicsBody);
Vector3 constant_linear_velocity;
Vector3 constant_angular_velocity;
@@ -114,7 +114,7 @@ public:
class RigidBody : public PhysicsBody {
- OBJ_TYPE(RigidBody,PhysicsBody);
+ GDCLASS(RigidBody,PhysicsBody);
public:
enum Mode {
@@ -284,7 +284,7 @@ VARIANT_ENUM_CAST(RigidBody::AxisLock);
class KinematicBody : public PhysicsBody {
- OBJ_TYPE(KinematicBody,PhysicsBody);
+ GDCLASS(KinematicBody,PhysicsBody);
float margin;
bool collide_static;