18.01.2014, 12:36
(
Последний раз редактировалось FUNExtreme; 18.01.2014 в 18:01.
)
Quote:
No. The offsets are related to the object's axes:
Код:
CreateObject(6959, 17.18580, -58.10570, 2.61260, 0.00000, 0.00000, 0.00000); Код:
CreateObject(6959, 17.18580, -58.10570, 2.61260, 0.00000, 0.00000, 180.00000); Код:
CreateObject(6959, 17.18580, -58.10570, 2.61260, 0.00000, 0.00000, 90.00000); So you see where the problem is. In your test you are applying the offsets to the world's axes, and not the object's axes. You'll have to do some calculations which also contain the angles of the objects so you can determine where to place these orange balls precisely. |