people playing: 192, servers online: 55, games played: 134,707,764 Top Player: Wounder

  Toribash Community » Toribash » Mods » Lua scripts
Register FAQ General Rules Community
Reply
 
Thread Tools Display Modes
Old Feb 18, 2016   #41
barbarbar
Junior Member
 
Brown Belt
Join Date: Jan 2016
Posts: 12



Hi! Is there a function to get a joint rotation information similar to a bodypart rotation? get_joint_info( , ).rot and get_joint_rot( , ) dont seem to work. Thank you

Last edited by barbarbar; Feb 18, 2016 at 11:39 AM..
barbarbar is offline   Reply With Quote
Old Feb 18, 2016   #42
psycore
Member
 
2nd Dan Black Belt
Join Date: Feb 2010
Posts: 388



Joints have the same orientation as the body part they're moving. For example the elbow joint has the same rotation as the lower arm. So there is no need for a seperate function.
Signature temporarily out of order.
psycore is offline   Reply With Quote
Old Feb 18, 2016   #43
barbarbar
Junior Member
 
Brown Belt
Join Date: Jan 2016
Posts: 12



Originally Posted by psycore View Post
Joints have the same orientation as the body part they're moving. For example the elbow joint has the same rotation as the lower arm. So there is no need for a seperate function.

Hey, thank you! I've already tried that, was only unsure if its exactly same. Also there is 20 joints and 21 bodyparts, does groin has same rotation as stomach? I'm using stomach rotation for abs joint, am I right? Thanks!
barbarbar is offline   Reply With Quote
Old Feb 19, 2016   #44
psycore
Member
 
2nd Dan Black Belt
Join Date: Feb 2010
Posts: 388



Two body parts are always connected by a joint, so no two body parts necessarily have the same rotation. The abs control the rotation between stomach and groin. Here you can see which bone is which.
Signature temporarily out of order.
psycore is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:25 PM.




Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
ragdoll fighting game physics fighting game ragdoll fighting physics funmotion joints martial arts karate pc mac free game turn based game