BrickPlanet Developer API

    Classes

  • Data
    • Game
    • Leaderboard
    • Players
    • ServerStorage
    • Workspace
    • Dynamic
    • Hat
    • Mesh
    • Model
    • MouseDetector
    • Player
    • RemoteData
    • Tool
    • CData
    • Camera
    • Chat
    • InputSystem
    • MathExt
    • PartColor
    • PlayerBody
    • PlayerMouse
    • Ray
    • Region3
    • Vector3
  • Lighting
    • Lighting
    • PointLight
  • Effects
    • Scenery
    • Particles
    • Sound
    • Text3D
    • ParticlesEmissionModule
    • ParticlesLightsModule
    • ParticlesMainModule
    • ParticlesShapeModule
    • ParticlesTrailsModule
    • UI
    • UI Background
    • UI Button
    • UI Checkbox
    • UI Dropdown
    • UI Input field
    • UI Layout
    • UI Horizontal Layout
    • UI Vertical Layout
    • UI Slider
    • UI Text
    • UIElement
  • Constraints
    • Hinge
    • Weld
  • Scripting
    • LocalScript
    • ServerScript
  • Construction
    • Part
    • Truss
    • VehicleSeat
  • Tutorials
    • Scripted Gun tutorial
  • Scripting Forum
  • Updates Log

You are in:

  • Data
  • »
  • Vector3

Vector3

Represents points in the 3D space

Properties

Name Type Description
xNumber
yNumber
zNumber
magnitudeNumber
oneVector3
upVector3
downVector3
rightVector3
leftVector3
forwardVector3
backVector3
normalizedVector3
zeroVector3
XNumber
YNumber
ZNumber

Functions

Name Returns Description
NewVector3
NewVector3
CrossVector3
NormalizeVector3
MagnitudeNumber
SqrMagnitudeNumber
DotNumber
DistanceNumber
ProjectVector3
ProjectOnPlaneVector3
ReflectVector3
LerpVector3
LerpUnclampedVector3
MoveTowardsVector3
ScaleVector3
ScaleVector3

Events

Name Description