Difference between revisions of "ATTACH CAR TO CAR"
Jump to navigation
Jump to search
(Fixed some param's) |
|||
Line 2: | Line 2: | ||
|np=9 | |np=9 | ||
|p1t=integer | |p1t=integer | ||
− | |p1d=Vehicle | + | |p1d=Vehicle Child |
|p2t=integer | |p2t=integer | ||
− | |p2d=Vehicle | + | |p2d=Vehicle Parent |
|p3t=bool | |p3t=bool | ||
− | |p3d= | + | |p3d=Relative offsets |
|p4t=float | |p4t=float | ||
|p4d=X Offset | |p4d=X Offset | ||
Line 14: | Line 14: | ||
|p6d=Z Offset | |p6d=Z Offset | ||
|p7t=float | |p7t=float | ||
− | |p7d=X | + | |p7d=X Rotation |
|p8t=float | |p8t=float | ||
− | |p8d=Y | + | |p8d=Y Rotation |
|p9t=float | |p9t=float | ||
− | |p9d=Z | + | |p9d=Z Rotation |
|r=0 | |r=0 | ||
}} | }} | ||
− | Attaches 2 Vehicles together. | + | Attaches 2 Vehicles together. Rotation are in radians. If the 'Relative offsets' boolean is true the offsets are relative otherwise they are Absolute (to the world). |
{{Incomplete}} | {{Incomplete}} |
Revision as of 16:24, 16 September 2009
Number of parameters: 9 | ||
---|---|---|
Parameter # | Type | Description |
1. | integer | Vehicle Child |
2. | integer | Vehicle Parent |
3. | bool | Relative offsets |
4. | float | X Offset |
5. | float | Y Offset |
6. | float | Z Offset |
7. | float | X Rotation |
8. | float | Y Rotation |
9. | float | Z Rotation |
Return value: | ||
Type | Description | |
None |
Attaches 2 Vehicles together. Rotation are in radians. If the 'Relative offsets' boolean is true the offsets are relative otherwise they are Absolute (to the world).
This section is incomplete. You can help by fixing and expanding it.