Skip to content

LinearVelocity

Supported Class Physics

Applies force on an assembly to maintain a constant linear velocity.

9 Nova members · 5 modern Roblox members not implemented yet

Description

The LinearVelocity constraint applies force on an assembly to maintain a constant linear velocity. It can be set to apply force along a Vector3, line, or 2D plane. Alternatively:

  • If you want to control the amount of force applied, use a VectorForce constraint.
  • If you only need initial linear velocity, set the AssemblyLinearVelocity property directly on the assembly.

When configuring this constraint, it may be helpful to study Roblox Units to understand how Roblox units compare to metric units.

Relativity

Application of velocity can be controlled through the constraint's RelativeTo property. If set to World, force will be applied in world coordinates, independent of the parent or attachment orientations. If set to Attachment0 or Attachment1, force will be applied relative to Attachment0 or Attachment1 respectively.

Inheritance

Object → Instance → Constraint → LinearVelocity

Nova inheritance: Instance → Constraint → LinearVelocity

Properties

LineDirection Supported Property The normalized Vector3 direction for constraining the velocity along a line.
LineDirection: Vector3

The normalized Vector3 direction for constraining the velocity along a line, when VelocityConstraintMode is set to Line.

Roblox documentation

LineVelocity Supported Property Float value of the velocity when VelocityConstraintMode is set to Line.
LineVelocity: float

Float value of the velocity when VelocityConstraintMode is set to Line.

Roblox documentation

MaxForce Supported Property Maximum magnitude of the force vector the constraint can apply.
MaxForce: float

Maximum magnitude of the force vector the constraint can apply. Only used if ForceLimitsEnabled is true and ForceLimitMode is Magnitude.

Roblox documentation

PlaneVelocity Supported Property Vector2 value of the velocity in each tangent direction of the plane.
PlaneVelocity: Vector2

Vector2 value of the velocity in each tangent direction of the plane, when VelocityConstraintMode is set to Plane.

Roblox documentation

PrimaryTangentAxis Supported Property The primary axis in the plane, when VelocityConstraintMode is set to Plane.
PrimaryTangentAxis: Vector3

The primary axis in the plane, when VelocityConstraintMode is set to Plane. Value depends on the value of RelativeTo as follows:

Roblox documentation

RelativeTo Supported Property Sets the ActuatorRelativeTo property for the constraint.
RelativeTo: ActuatorRelativeTo

Sets the ActuatorRelativeTo property for the constraint.

Roblox documentation

SecondaryTangentAxis Supported Property The secondary axis in the plane, when VelocityConstraintMode is set to Plane.
SecondaryTangentAxis: Vector3

The secondary axis in the plane, when VelocityConstraintMode is set to Plane. Value depends on the value of RelativeTo as follows:

Roblox documentation

VectorVelocity Supported Property Vector3 velocity value when VelocityConstraintMode is set to Vector.
VectorVelocity: Vector3

Vector3 velocity value when VelocityConstraintMode is set to Vector.

Roblox documentation

VelocityConstraintMode Supported Property The mode of the constraint.
VelocityConstraintMode: VelocityConstraintMode

The mode of the constraint.

The mode of the constraint: Line, Plane, or Vector. Default is Vector.

Roblox documentation

Inherited members

Inherited from Constraint: 14 properties, 36 methods, 7 events. They are documented on the base class page.

5 modern Roblox member(s) are not implemented yet — expand to inspect

Members declared by Roblox's LinearVelocity class (or by a missing base class) that Nova does not expose. Use this list to scope a migration; the compatibility guide has the recommended workaround.

Properties

Member Signature Status Notes Flags
ForceLimitMode ForceLimitMode: ForceLimitMode Not yet Determines how the constraint force will be limited. —
ForceLimitsEnabled ForceLimitsEnabled: bool Not yet Determines if the constraint force will be limited or if the physics solver can apply an unlimited force to achieve the target velocity. —
MaxAxesForce MaxAxesForce: Vector3 Not yet Maximum force along each axis that the constraint can apply to achieve the vector velocity. Only used if ForceLimitsEnabled is `t… —
MaxPlanarAxesForce MaxPlanarAxesForce: Vector2 Not yet Maximum force along each axis that the constraint can apply to achieve the plane velocity. Only used if ForceLimitsEnabled is `tr… —
ReactionForceEnabled ReactionForceEnabled: bool Not yet Determines whether an equal and opposite reaction force is also applied to the assembly of Attachment1 when [RelativeTo](LinearVelocity.md#r… —

Roblox reference: LinearVelocity

Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.