Brickplanet Developer API

    Classes

  • Data
    • Game
    • Leaderboard
    • Players
    • ServerStorage
    • Workspace
    • Dynamic
    • Hat
    • Mesh
    • Model
    • MouseDetector
    • Player
    • RemoteData
    • Tool
    • CData
    • Chat
    • MathExt
    • PartColor
    • PlayerMouse
    • Ray
    • Region3
    • Vector3
  • Lighting
    • Lighting
    • PointLight
  • Effects
    • Scenery
    • Particles
    • Sound
    • Text3D
    • ParticlesEmissionModule
    • ParticlesLightsModule
    • ParticlesMainModule
    • ParticlesShapeModule
    • ParticlesTrailsModule
  • Constraints
    • Hinge
    • Weld
  • Scripting
    • LocalScript
    • ServerScript
  • Construction
    • Part
    • Truss
    • VehicleSeat
  • Scripting Forum
  • Updates Log

You are in:

  • Data
  • »
  • Vector3

Vector3

Represents points in the 3D space

Properties

Name Type Description
xNumber
yNumber
zNumber
magnitudeNumber
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