Accessing Part Transform of CMP at runtime
Locked
Speciality Modding
-
Hello.
I have a rather specific query. I have a CShip and a list of parts on that ship. I have all the data related vertexes and such of the part, but I do not have the relative transform of the part to the root of the ship.
I tried accessing this information in game through a number of the functions within the CShip class, but to no avail. I know that Freelancer must track this information, as you can have animated ship parts, but I have found no way to obtain it.
I did try to see if I could at least get the static part data in game, but I was unable to map any data of the part. I know this rather uncharted waters, so I’m kind of going out on a limb hoping someone knows about this.