Scullyy / scully_emotemenu

An emote menu for the FiveM community.
GNU General Public License v3.0
81 stars 60 forks source link

Problem Adding Animations Rotations on Z ? (180 Degrees) #3

Closed Marc85BPG closed 1 year ago

Marc85BPG commented 1 year ago

I want to add Synchronized Anims - but always its wrong on Z Rotation

i am looked for a variable like "zRot" or "ZRot Offset" or anything but there isnt. so how can i rotate the ped / other part by 180 Degrees on Z ?

Scullyy commented 1 year ago

I want to add Synchronized Anims - but always its wrong on Z Rotation

i am looked for a variable like "zRot" or "ZRot Offset" or anything but there isnt. so how can i rotate the ped / other part by 180 Degrees on Z ?

This already exists, it’s the 3rd parameter in the second position vector

Marc85BPG commented 1 year ago

Yah i am tooooo stupid bro :D after couple of hours i realized vector3 (x,y,z) vector3(rot-x,rot-y,rot-z) :D lets close that.

Regards