Grabbable constructor

Grabbable({
  1. required Node node,
  2. double maxGrabDistance = 2.0,
  3. void onGrabStart(
    1. Node node
    )?,
  4. void onGrabEnd(
    1. Node node
    )?,
  5. void onRelease(
    1. Node node,
    2. Vector3 velocity
    )?,
})

Implementation

Grabbable({
  required this.node,
  this.maxGrabDistance = 2.0,
  this.onGrabStart,
  this.onGrabEnd,
  this.onRelease,
});