camSetDir: Difference between revisions
BrettMayson (talk | contribs) mNo edit summary |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 35: | Line 35: | ||
|p12= azimuth: [[Number]] - camera azimuth | |p12= azimuth: [[Number]] - camera azimuth | ||
|r1= [[Nothing]] | |||
|s2= camera [[camSetDir]] direction | |s2= camera [[camSetDir]] direction | ||
| Line 42: | Line 44: | ||
|p22= direction: [[Vector3D] - direction of camera. Must be a valid vector. | |p22= direction: [[Vector3D] - direction of camera. Must be a valid vector. | ||
| | |r2= [[Nothing]] | ||
|x1= Since {{arma3}}: | |x1= Since {{arma3}}: | ||
Revision as of 05:20, 2 January 2026
{{RV|type=command
|game1= ofp |version1= 1.00
|game2= ofpe |version2= 1.00
|game3= arma1 |version3= 1.00
|game4= arma2 |version4= 1.00
|game5= arma2oa |version5= 1.50
|game6= tkoh |version6= 1.00
|game7= arma3 |version7= 0.50
|gr1= Camera Control
|arg= local
|eff= local
|descr= Sets the orientation of the given camera in the direction of the given vector. Needs camCommit. Since
0.50, only the second syntax with a Vector3D is available.
|s1= camera camSetDir azimuth
|p11= camera: Object - object of type "camera"
|p12= azimuth: Number - camera azimuth
|r1= Nothing
|s2= camera camSetDir direction
|p21= camera: Object - object of type "camera"
|p22= direction: [[Vector3D] - direction of camera. Must be a valid vector.
|r2= Nothing
|x1= Since Arma 3:
|x2= Before Arma 3:
|seealso= direction setDir camSetTarget getCameraViewDirection }}
- Posted on May 09, 2016 - 19:47 (UTC)
- cameraEffect "INTERNAL" works better than "EXTERNAL" with this command.