How to create a Ragdoll and use Animation pose #1448
Replies: 4 comments 4 replies
-
Yes, this is the assumption. If you need an offset, wrap your shape in a
There is no concept of 'forward' for ragdolls, you define that in your own game. Maybe you mean to ask along which axis the capsules are aligned? This is Y-axis. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I have an other question that why the “offset” in “SkeletonPose” is type "RVec3" |
Beta Was this translation helpful? Give feedback.
-
hello,I am sorrry I can't unstand the Ragdoll "SetPose" and "GetPose", I see that I need to set a offset Vec3? and maybe I need calculate the rotation by myself? why not to make the "offset" to "Mat44" or just let people calculate it by all themselves |
Beta Was this translation helpful? Give feedback.
-
I create a Ragdoll like this
![image](https://private-user-images.githubusercontent.com/34981447/401180051-c9ad271a-a177-41a5-ba22-833846c6670b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMTIwMDIsIm5iZiI6MTczOTAxMTcwMiwicGF0aCI6Ii8zNDk4MTQ0Ny80MDExODAwNTEtYzlhZDI3MWEtYTE3Ny00MWE1LWJhMjItODMzODQ2YzY2NzBiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDEwNDgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTlmZTQ0MzNlZDE1OTgzYzJkMDE0YzE3YTcxYzY1YWZkNzg1MzAwOTA0MmY4MTk3ODExMWRlODAxNzM4OTc3MTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ryJ3HtKWCxp3xbh-6pRXCPjZZ7T12R-EpgA_2cLoVfs)
and when I use the
mRagdoll->SetPose(pose);
it will be like that
I have some questions
Is the Shape position = Joint position?
Is the Shape rotation = Joint rotation?
Is any offset in the Human.tof
![image](https://private-user-images.githubusercontent.com/34981447/401182474-49060e23-6e8e-466f-a427-5bf448d5a09a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMTIwMDIsIm5iZiI6MTczOTAxMTcwMiwicGF0aCI6Ii8zNDk4MTQ0Ny80MDExODI0NzQtNDkwNjBlMjMtNmU4ZS00NjZmLWE0MjctNWJmNDQ4ZDVhMDlhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDEwNDgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ5ZWRlZWU4MjAyY2U0MDNjODU3MGM2ZWY1MDNlNTQ2YzI0MGE0MDIzZWMyMjEzZjZhMjczNTg2ZjlmYWEwY2YmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.UwOqz-kQ4CCVLtCogCsY7qJyZjeIXI4ufxpReEd8Dqw)
and I have a other question
Whitch is the forward,is the -Z axis?
Beta Was this translation helpful? Give feedback.
All reactions