To read skeletal bones in Rust Unity IL2CPP:
- From
BasePlayer, readplayerModelat offset0x4C0. - From
PlayerModel, read_multiMeshat offset0x280. - From
SkinnedMultiMesh, readboneTransformsat offset0x48. - Call Unity's internal
Transform::GetPosition(Transform* transform, Vector3* outPos)or read the native bone matrix cache array.
Head bone is indexed at head (boneTransforms[47]), neck is neck (boneTransforms[46]).