Only the Set Vector3 To Limb Offset works in this example:
`%Project Title%
`%Source File Name%
`======================
Make Object Cube 1, 1
Make Mesh From Object 1, 1
Delete Object 1
Make Object Cube 2, 1
a = Append Limb (2, 1)
b = Append Limb (2, 1)
Delete Mesh 1
Offset Limb 2, b, 0, 500, 0
v = New Vector3()
Move Object 2, 500
Repeat
Set Cursor 0, 0
Set Vector3 To Object Position v, 2
Print "Object Position: "; Vector3$(v, 0)
Set Vector3 To Limb Offset v, 2, a
Print "Offset A: "; Vector3$(v, 0)
Set Vector3 To Limb Position v, 2, a
Print "Position A : "; Vector3$(v, 0)
Set Vector3 To Limb Offset v, 2, b
Print "Offset B: "; Vector3$(v, 0)
Set Vector3 To Limb Position v, 2, b
Print "Position B: "; Vector3$(v, 0) ` Does not output 0, 500, 500
Until Scancode()
End
Function Vector3$(v, iDecimals)
s$ = Str$( X Vector3(v), iDecimals ) + ", " + Str$( Y Vector3(v), iDecimals ) + ", " + Str$( Z Vector3(v), iDecimals )
Endfunction s$