MoveObject set wrong rotation.
#3

new bool:lastmove[MAX_OBJECTS];
I'm on my tablet so I'm not going to dig for my actual fix, but here is a slight psuedo of what it's like. If someone could add the actual shit for this guy that'd be greatly appreciated by him (I suppose).
pawn Код:
MoveObject_Fix(...)
{
    if(lastmove[objectid])
        fZ += 0.00001;
    else
        fZ -= 0.00001;
   
    lastmove[objectid] = !lastmove[objectid];
    return MoveObject(...);
}

//ALS hook here (MoveObject = MoveObject_Fix)
Basically this will alternate between up and down movements that are hardly noticeable so the object will actually rotate when there is no movement applied.
Reply


Messages In This Thread
MoveObject set wrong rotation. - by xVIP3Rx - 06.08.2015, 22:35
Re: MoveObject set wrong rotation. - by X337 - 07.08.2015, 01:24
Re: MoveObject set wrong rotation. - by Crayder - 07.08.2015, 01:51
Re: MoveObject set wrong rotation. - by xVIP3Rx - 07.08.2015, 03:02
Re: MoveObject set wrong rotation. - by Crayder - 07.08.2015, 03:51
Re: MoveObject set wrong rotation. - by xVIP3Rx - 07.08.2015, 05:11
Re: MoveObject set wrong rotation. - by xVIP3Rx - 07.08.2015, 05:34
Re: MoveObject set wrong rotation. - by Crayder - 07.08.2015, 11:20
Re: MoveObject set wrong rotation. - by xVIP3Rx - 07.08.2015, 11:24

Forum Jump:


Users browsing this thread: 1 Guest(s)