long_gone Posted January 21, 2022 Share Posted January 21, 2022 I want to place some object next to my left shoulder, but with my ped rotation the offset I added is not want it to be.( I want to have this object to be 0.20 units aside from my left shoulder ). If You did not get what I meant here is link to the yt video below: 1 minute ago, long_gone said: is not want it to be is not what I wanted it to be* Link to comment
XaskeL Posted January 21, 2022 Share Posted January 21, 2022 What about counting with the player's rotation? 1 Link to comment
The_GTA Posted January 22, 2022 Share Posted January 22, 2022 I wonder whether you are looking for the ped bone matrix. You can query it using the getElementBoneMatrix function. The bone matrix describes the orientation of the bone in 3D space (rotation + position). 1 Link to comment
long_gone Posted January 22, 2022 Author Share Posted January 22, 2022 1 hour ago, The_GTA said: I wonder whether you are looking for the ped bone matrix. You can query it using the getElementBoneMatrix function. The bone matrix describes the orientation of the bone in 3D space (rotation + position). W helper! TY Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now