Epok Engine

EPOK RUNTIME

epok::Joint2DComponent::break_joint

Method · 1 overload

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Method

Cuts the joint for good: the rope snaps.

Belongs to
epok::Joint2DComponent
Header
world2d_physics.hpp
Overloads
1

Declaration

Declaration
void break_joint()

Cuts the joint for good: the rope snaps.

This overload takes no parameters.

Returns: Nothing (void).

Example sketch

C++ example
#include "world2d_physics.hpp"

epok::Joint2DComponent& object = /* obtain a valid instance */;

object.break_joint();

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/world2d_physics.hpp:113

Related members