Skip to content
Roblox API Reference

BodyVelocity

Deprecated: This object is deprecated and should not be used for new work. Use LinearVelocity instead, and see the legacy conversion notes (opens in a new tab).
Applies a force to maintain a constant velocity.
  • Deprecated
Memory category
Instances
Own members
7
Inherited members
75
Subclasses
0
Siblings
7

Properties28

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Defined byBodyVelocity5

Property categoryGoals

  • BodyVelocity.MaxForce: Vector3 = Vector3.new(4000, 4000, 4000)
    Determines the limit on how much force that may be applied to each axis.
    • Read capabilities: Physics
  • BodyVelocity.P: number = 1250
    Determines how aggressive of a force is applied in reaching the goal velocity.
    • Read capabilities: Physics
  • BodyVelocity.Velocity: Vector3 = Vector3.new(0, 2, 0)
    Determines the goal velocity.
    • Read capabilities: Physics
  • BodyVelocity.maxForce: Vector3 = Vector3.new(4000, 4000, 4000)
    Deprecated: This property is a deprecated variant of BodyVelocity.MaxForce which should be used instead.
    • Deprecated
    • Not replicated
    • Read capabilities: Physics
    • Load only

    Use MaxForce instead.

  • BodyVelocity.velocity: Vector3 = Vector3.new(0, 2, 0)
    Deprecated: This property is a deprecated variant of BodyVelocity.Velocity which should be used instead.
    • Deprecated
    • Not replicated
    • Read capabilities: Physics
    • Load only

    Use Velocity instead.

Methods44

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39
Defined byBodyVelocity2
  • BodyVelocity:GetLastForce(): Vector3
    Not implemented and will always return the 0 vector.
    • Capabilities: Physics
    Returns
    Type
    Vector3
  • BodyVelocity:lastForce(): Vector3
    Returns the last force in the object.
    • Capabilities: Physics
    Returns
    Type
    Vector3

Events10

Inherited fromObject1
Inherited fromInstance9