Uses of Class
ActiverseUtils.ActorVector
Packages that use ActorVector
-
Uses of ActorVector in ActiverseUtils
Methods in ActiverseUtils that return ActorVectorModifier and TypeMethodDescriptionActorVector.add
(ActorVector other) Adds another vector to this one.ActorVector.normalize()
Returns a new vector representing the direction (unit vector) of this vector.ActorVector.scale
(double scalar) Scales the vector by a scalar multiplier.ActorVector.subtract
(ActorVector other) Subtracts another vector from this one.ActorVector.toAcceleration
(double mass) Simulates a force applied on a mass and returns the resulting acceleration vector.Methods in ActiverseUtils with parameters of type ActorVectorModifier and TypeMethodDescriptionActorVector.add
(ActorVector other) Adds another vector to this one.double
ActorVector.angleBetween
(ActorVector other) Calculates the angle in degrees between this vector and another.double
ActorVector.dot
(ActorVector other) Computes the dot product between this vector and another.ActorVector.subtract
(ActorVector other) Subtracts another vector from this one.