Colshapes::newCuboid

From RAGE Multiplayer Wiki
Jump to navigation Jump to search
Js.png JavaScript


Creates a cuboid ColShape in 3D space

Parameters

  • x: Number in float
  • y: Number in float
  • z: Number in float
  • width: Number in float
  • depth: Number in float
  • height: Number in float

Syntax

mp.colshapes.newCuboid(x, y, z, width, depth, height)

See Also