RainDropPhysics class

(en) A class for physics calculations that can simulate falling motion without rotation. Falling fast like rain.

(ja) 回転せずに落下する動きをシミュレート可能な、物理演算のためのクラスです。 雨のように高速に落下します。

Author Masahide Mori

Constructors

RainDropPhysics({int fps = 60})
  • fps : The screen fps.
  • Properties

    angle double?
    getter/setter pairinherited
    angularVelocity double?
    getter/setter pairinherited
    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?
    getter/setter pairinherited
    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