28.04.2015, 08:28
(
Последний раз редактировалось Gammix; 29.04.2015 в 11:06.
)
Finally, after wasting couple of hours and testing. Now i am able to see whats wrong.
The Actors positions are not being updated. It only works when we manually set it!
When i printed actor's position just when they spawn:
After applying animation:
Their position is still :
Seems like their position is not being updating after they change/move or are using an animation.
Making a fix would really help me to use these actor in the form of zombies and do several other stuff!
The Actors positions are not being updated. It only works when we manually set it!
When i printed actor's position just when they spawn:
pawn Код:
Actor spawned: 1817.721435, -1089.740844, 24.078125
pawn Код:
ApplyActorAnimation(pedid, "PED", "WALK_civi", 4.1, 1, 1, 1, 1, 0);
pawn Код:
Actor's pos: 1817.721435, -1089.740844, 24.078125
Making a fix would really help me to use these actor in the form of zombies and do several other stuff!