jj_joint_set_enabled function

  1. @Native<Void Function(Int64, Bool)>(ffi.Int64, ffi.Bool)>(isLeaf: true)
void jj_joint_set_enabled(
  1. int joint,
  2. bool enabled
)

Turns a joint off (its bodies move as if it were not there) or back on.

Implementation

@ffi.Native<ffi.Void Function(ffi.Int64, ffi.Bool)>(isLeaf: true)
external void jj_joint_set_enabled(int joint, bool enabled);