Hey guys
I've started modeling a tablet as part of my puzzle in the teamnesia project. While doing the tablet I realised that I had forgotten an important part. The tablet looks like this:
You are supposed to place planets/stars at the "holes" in the rings. The planets/stars are items I have made. The three rings are all supposed to be individually rotated. I will copy the rotation of the crank wheels for that.
How will I be able to rotate the stars/planets once in place - ergo keeping them in place at the holes in the rings?
Some thoughts around this:
- Simply placing a stuck entity there will make it stay at the same location.
- I thought of using the:
AddAttachedPropToProp(string& asPropName, string& asAttachName, string& asAttachFile, float afPosX, float afPosY, float afPosZ, float afRotX, float afRotY, float afRotZ);
Is that the way to go? If anyone has input/guidelines on working with this command I would appreciate it.
Thanks
------------------------------------- Case closed ----------------------------------------------------------
I tried using:
AddAttachedPropToProp(string& asPropName, string& asAttachName, string& asAttachFile, float afPosX, float afPosY, float afPosZ, float afRotX, float afRotY, float afRotZ);
And it appears to work for the purpose I need. If anything else comes up concerning this I'll "reopen" the thread.