|
|
@ -1,7 +1,8 @@
|
|
|
|
import 'package:flame_forge2d/flame_forge2d.dart';
|
|
|
|
import 'package:flame_forge2d/flame_forge2d.dart';
|
|
|
|
|
|
|
|
|
|
|
|
/// {@template anchor}
|
|
|
|
/// {@template anchor}
|
|
|
|
/// Non visual [BodyComponent] used to hold a [BodyType.dynamic] in [Joint]s.
|
|
|
|
/// Non visual [BodyComponent] used to hold a [BodyType.dynamic] in [Joint]s
|
|
|
|
|
|
|
|
/// with this [BodyType.static].
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// It is recommended to [_position] the anchor first and then use the body
|
|
|
|
/// It is recommended to [_position] the anchor first and then use the body
|
|
|
|
/// position as the anchor point when initializing a [JointDef].
|
|
|
|
/// position as the anchor point when initializing a [JointDef].
|
|
|
|