ephysics_body_restitution_set(boundary, 0.65);
ephysics_body_friction_set(boundary, 3);
+ ephysics_body_left_boundary_add(test_data->world);
+
_world_populate(test_data);
}
* between bodies and the world. Constraints can limit movement angle,
* translation, or work like a motor.
*
- * Constraints can be created with @ref ephysics_constraint_add() and removed
+ * Constraints can be created with @ref ephysics_constraint_p2p_add()
+ * or @ref ephysics_constraint_slider_add() and removed
* with @ref ephysics_constraint_del().
* Can be applied between two bodies or between a body and the world.
*/
-typedef struct _EPhysics_Constraint EPhysics_Constraint; /**< Constraint handle, used to limit bodies movements. Created with @ref ephysics_constraint_add() and deleted with @ref ephysics_constraint_del(). */
+typedef struct _EPhysics_Constraint EPhysics_Constraint; /**< Constraint handle, used to limit bodies movements. Created with @ref ephysics_constraint_p2p_add() or @ref ephysics_constraint_slider_add() and deleted with @ref ephysics_constraint_del(). */
/**
* @brief
*
* @param constraint The constraint to be deleted.
*
- * @see ephysics_constraint_add() for more details.
+ * @see ephysics_constraint_p2p_add() for more details.
+ * @see ephysics_constraint_slider_add() for more details.
*
* @ingroup EPhysics_Constraint
*/