RotatingDropPhysics class
(en) This is a class for physics calculations that can simulate the movement of falling while rotating on a plane.
(ja) 平面的に回転しながら落下する動きをシミュレート可能な、物理演算のためのクラスです。
Author Masahide Mori
Constructors
- RotatingDropPhysics({double? rotationSpeed, double? rotationDirection, int fps = 60})
-
rotationSpeed
: The object rotation speed.rotationDirection
: Specifies whether to rotate the object counterclockwise or clockwise, as 1 or -1. If not specified, a random value will be set.fps
: The screen fps.
Properties
- angle ↔ double?
-
getter/setter pairinherited
- angularVelocity ↔ double?
-
object rotation parameter.
getter/setter pairinherited-setter
- direction ↔ Sp3dV3D?
-
getter/setter pairinherited
- fps → int
-
fpsによらず速度を一定にするためのパラメータ
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLocked ↔ bool
-
getter/setter pairinherited
- mass ↔ double?
-
getter/setter pairinherited
- name ↔ String?
-
getter/setter pairinherited
-
others
↔ Map<
String, dynamic> ? -
getter/setter pairinherited
- rotateAxis ↔ Sp3dV3D?
-
object rotation axis.
getter/setter pairinherited-setter
- rotationDirection ↔ double
-
回転関連パラメータ
latefinal
- rotationSpeed ↔ double
-
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- speed ↔ double?
-
object speed.
getter/setter pairinherited-setter
- velocity ↔ Sp3dV3D?
-
object motion velocity.
getter/setter pairinherited-setter
Methods
-
deepCopy(
) → Sp3dPhysics -
Deep copy the object.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDict(
) → Map< String, dynamic> -
Convert the object to a dictionary.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited