Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / I think I found a Bug in fix object to bone

Author
Message
Game_Code_here
3
Years of Service
User Offline
Joined: 2nd Jun 2020
Location:
Posted: 2nd May 2023 07:24 Edited at: 2nd May 2023 07:25
So I am using a small function to equip and unequip weapons.

It fixes the object to the correct bone just fine and everything is perfect but then when i take it off, it stays at the same rotation and location as my player object as it never un fixed so to say.

So to fix a object to a bone works, but to unfix a object to a bone does not work, it just stays at the same pos and rotation and also movement.

I do not know why but when I unfix a object from a object it works, but not with bones.

Game_Code_here
3
Years of Service
User Offline
Joined: 2nd Jun 2020
Location:
Posted: 3rd May 2023 07:55
I figured this out so never mind.

Instead of

FixObjectToBone( staff, 0, 0 )

You have to use

FixObjectToObject( staff, 0 )

I guess you have to unfix it with a different command.

Login to post a reply

Server time is: 2024-04-20 06:59:50
Your offset time is: 2024-04-20 06:59:50