Pawno Geometry
#1

Hello, Where can I learn these geometry operations?



Код:
GetVehicleRelativePos(vehicleid, &Float:x, &Float:y, &Float:z, Float:xoff= 0.0, Float:yoff= 0.0, Float:zoff= 0.0)
{
    new Float:rot;
    GetVehicleZAngle(vehicleid, rot);
    rot = 360 - rot;
    GetVehiclePos(vehicleid, x, y, z);
    x = floatsin(rot, degrees) * yoff + floatcos(rot, degrees) * xoff + x;
    y = floatcos(rot, degrees) * yoff - floatsin(rot, degrees) * xoff + y;
    z = zoff + z;

    return 1;
}
Reply


Messages In This Thread
Pawno Geometry - by cengiz6155 - 23.04.2018, 09:40
Re: Pawno Geometry - by Eoussama - 23.04.2018, 09:56
Re: Pawno Geometry - by cengiz6155 - 23.04.2018, 09:59
Re: Pawno Geometry - by Eoussama - 23.04.2018, 10:14
Re: Pawno Geometry - by OneDay - 23.04.2018, 10:42
Re: Pawno Geometry - by cengiz6155 - 23.04.2018, 11:09
Re: Pawno Geometry - by cengiz6155 - 23.04.2018, 11:11
Re: Pawno Geometry - by Dayrion - 23.04.2018, 11:32
Re: Pawno Geometry - by cengiz6155 - 23.04.2018, 12:05
Re: Pawno Geometry - by Redirect Left - 25.04.2018, 11:46

Forum Jump:


Users browsing this thread: 2 Guest(s)