|
|
@@ -72,6 +72,14 @@ public:
|
|
|
*/
|
|
|
PhysicsRigidBody* getRigidBody() const;
|
|
|
|
|
|
+ /**
|
|
|
+ * Sets whether the associated rigid body is enabled or disabled
|
|
|
+ * in the physics world.
|
|
|
+ *
|
|
|
+ * @param enable true enables the collision object, false disables it.
|
|
|
+ */
|
|
|
+ void setEnabled(bool enable);
|
|
|
+
|
|
|
/**
|
|
|
* Returns the number of wheels on this vehicle.
|
|
|
*
|