Cam::addCamSplineNode

From RAGE Multiplayer Wiki
Revision as of 20:02, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

I filled p1-p6 (the floats) as they are as other natives with 6 floats in a row are similar and I see no other method. So if a test from anyone proves them wrong please correct.

p7 (length) determines the length of the spline, affects camera path and duration of transition between previous node and this one

p8 big values ~100 will slow down the camera movement before reaching this node

p9 != 0 seems to override the rotation/pitch (bool?)

Syntax

cam.addCamSplineNode(camera, x, y, z, xRot, yRot, zRot, length, p8, p9);

Required Arguments

  • camera: int
  • x: float
  • y: float
  • z: float
  • xRot: float
  • yRot: float
  • zRot: float
  • length: int
  • p8: int
  • p9: int

Return value

  • Undefined

Example

todo

See also

Template:Cam function c