View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001773||Multi Theft Auto : San Andreas||Scripting||public||2007-01-03 15:04||2007-08-17 05:50|
|Target Version||Fixed in Version||mtasadm_v1.0-dp1|
|Summary||0001773: setObjectRotation & moveObject cannot work in unison|
They both fight over the object's position. The rotation keeps resetting it to previous positions of the moveobject. It looks pretty glitchy, I think the moveobject gets really pissed as time goes on as it cant meet it's goal to reach target by time, so it gets more crazy. I encountered this when i was making a spinning ion cannon beam (Command and Conquer remake)
It doesnt seem that setObjectRotation should be done on a timer. I think optional args (0/1 flags) need to be put on moveObject to specify if you want the rotations to be constant speed throughout the transition from point A to point B.
|Tags||No tags attached.|
Needs a mathematically correct implementation of quaternions, and a working SetMatrix function.
It does? :/. This just seems like a conflict between moveObject and setObjectRotation to me.
Is this still a problem, with stopObject() in existance?
Setting the object rotation during a movement will make that the target rotation.