MTA San Andreas: bone attachments

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,229
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 19, 2011

Get MTA SA from: http://www.mtasa.com

Resource download link: http://community.mtasa.com/index.php?p=resources&s=details&id=2540

getPedBonePosition returns joint positions and not rotations. How to get bone rotations then? It's easy. They can be calculated from positions of multiple bones. That's what my script does. All you need to do is call a function attachElementToBone and bone attachments script will do the rest of the job for you :)

P. S. Number of elements attached to the bones is unlimited. On SA-MP there can only be max 5 objects attached. SA-MP fanboys, suck my trigonometry! :D

  • likes, 3 dislikes

Link to this comment:

Share to:

Uploader Comments (DoomedSpaceMarine123)

  • what specifically should i do to add Object...i dont know any thing about scripting?

  • @GangstaRaper100 Then maybe read something in MTA wiki...

  • 2 SA-MP players are jealous because they can't have more than 5 objects attached to the player at the same time :D

  • Isn't this functionality already in this briefcase_test resource? Oh well, maybe this will be more accurate.

  • @sticksquash I don't know. The only briefcase resource I can find only gets position of the hand and rotation of the player, not the bones. My resource does much more. It can attach elements to 20 bones. Rotation of each bone is calculated from positions of three joins using matrices, so element almost always repeats bone rotation nearly perfectly :)

  • Hey that's cool, i didn't know you were still alive.

  • @themaniacboy I'm always alive :) But I don't script on MTA much.

Top Comments

  • Yesterday i wondered idea make this resource, but you anyway can make it more better than me. Good luck)

see all

All Comments (16)

Sign In or Sign Up now to post a comment!
  • there so many hacker in GTA SAMP

  • 1:05 its the heavy :O

  • Meh, samp has custom toys.

  • fucking ugly homos :)

  • Looks great! :D

  • Cool vid

  • Wow, thanks DSM, I am working on a roleplay and you just gave me a idea, tip and a boost! Thanks again!,

    Qais.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more