how to get bone coordinates in new shvdn?
I have the bone list from https://pastebin.com/D7JMnX1g
It looks like the function used to be something like
Vector3 v = GTA.Native.Hash.GET_PED_BONE_COORDS(player, 0x322c, 0f, 0f, 0f);
If I do:
Vector3 v = Function.Call<Vector3>(Hash.GET_WORLD_POSITION_OF_ENTITY_BONE, player.Handle, 0x322c);
then v comes back empty
but that isn't working. Any thoughts on how to do this?
Found it, for those interested:
Vector3 v = Function.Call<Vector3>(Hash.GET_PED_BONE_COORDS, player, Bone.SkelHead);