Data Realms Fan Forums http://45.55.195.193/ |
|
Actor Arm/Leg Offsets? http://45.55.195.193/viewtopic.php?f=1&t=27637 |
Page 1 of 1 |
Author: | Arcalane [ Sat Dec 17, 2011 4:29 pm ] |
Post subject: | Actor Arm/Leg Offsets? |
So I've been poking at the search button a bit trying to get answers and finding nothing conclusive. Offsets make sense for guns, but I'm having trouble figuring them out for arms and legs. What I need to know is how the SpriteOffset, ParentOffset, IdleOffset, JointOffset, MaxLength etc. etc. are important for arms and legs. Should the sprite offset be at the exact shoulder/hip joint, where it would connect to the torso, or closer towards the elbow/knee or center of the sprite? That sort of thing. |
Author: | Lizardheim [ Sat Dec 17, 2011 5:53 pm ] |
Post subject: | Re: Actor Arm/Leg Offsets? |
Spriteoffset should be where the joint connecting it to the main body is. |
Author: | Coops [ Sat Dec 17, 2011 10:09 pm ] |
Post subject: | Re: Actor Arm/Leg Offsets? |
Lizardheim wrote: Spriteoffset should be where the joint connecting it to the main body is. Really? ♥♥♥♥. |
Author: | Arcalane [ Sat Dec 17, 2011 10:53 pm ] |
Post subject: | Re: Actor Arm/Leg Offsets? |
I feared as much. It seems there is a lot that isn't documented, even after this long. A lot of times the arm SpriteOffset definitely isn't the shoulder joint, so whilst it's a case of 'should', it's obviously not a case of 'must'. It makes sense if you don't want to have to mess around with offsets too much though. |
Author: | Naxete [ Sat Dec 17, 2011 11:07 pm ] |
Post subject: | Re: Actor Arm/Leg Offsets? |
I though jointoffset was where the joint is produced... damn myself! (?) |
Author: | robolee [ Wed Dec 21, 2011 7:58 pm ] |
Post subject: | Re: Actor Arm/Leg Offsets? |
Arcalane wrote: What I need to know is how the SpriteOffset, ParentOffset, IdleOffset, JointOffset, MaxLength I'm pretty sure sprite offset is the position of the shoulder/hip joint on the limb sprite, parent offset is the position of the shoulder/hip joint on the torso sprite. For joint offset and idle offset I think they may be the fully extended position of the foot/hand and the fully contracted position of the foot/hand but yeah I'm not sure which way round or if one is offset from the other (haven't done any actor coding in a long long time, I gave up because I couldn't get it walk properly, also the in-game default idle arm state seems to be contracted whilst the leg idle is extended though I'm not sure if that effects it). I don't know what role max length plays but it may be used to work out the stresses on the joint but it's probably what it says on the tin, the length of the limb when fully extended from the shoulder/hip joint to the hand/foot joint. A way to test them would be to load a base actor and set a variable to 0 and see the effect and then set it to something ridiculously high and see the effect, see what moves/changes then reset it to it's default and do the same to another variable. |
Author: | Zazix [ Thu Dec 22, 2011 3:48 pm ] |
Post subject: | Re: Actor Arm/Leg Offsets? |
Arcalane wrote: So I've been poking at the search button a bit trying to get answers and finding nothing conclusive. Offsets make sense for guns, but I'm having trouble figuring them out for arms and legs. What I need to know is how the SpriteOffset, ParentOffset, IdleOffset, JointOffset, MaxLength etc. etc. are important for arms and legs. Should the sprite offset be at the exact shoulder/hip joint, where it would connect to the torso, or closer towards the elbow/knee or center of the sprite? That sort of thing. I've been struggling with a similar problem but on a more basic level. Why is there no "Dictionary of All the Terms in CC Code?" |
Author: | trystanr [ Fri Dec 23, 2011 9:51 am ] |
Post subject: | Re: Actor Arm/Leg Offsets? |
Zazix wrote: Arcalane wrote: So I've been poking at the search button a bit trying to get answers and finding nothing conclusive. Offsets make sense for guns, but I'm having trouble figuring them out for arms and legs. What I need to know is how the SpriteOffset, ParentOffset, IdleOffset, JointOffset, MaxLength etc. etc. are important for arms and legs. Should the sprite offset be at the exact shoulder/hip joint, where it would connect to the torso, or closer towards the elbow/knee or center of the sprite? That sort of thing. I've been struggling with a similar problem but on a more basic level. Why is there no "Dictionary of All the Terms in CC Code?" Nobody will bother to make it. Its really too simple to care about. |
Author: | Duh102 [ Sat Dec 24, 2011 7:07 am ] |
Post subject: | Re: Actor Arm/Leg Offsets? |
If you can't find it in the List of Cortex Variables Defined, then ask someone to put it in there. |
Author: | Zazix [ Mon Dec 26, 2011 9:57 am ] |
Post subject: | Re: Actor Arm/Leg Offsets? |
trystanr wrote: Zazix wrote: Arcalane wrote: So I've been poking at the search button a bit trying to get answers and finding nothing conclusive. Offsets make sense for guns, but I'm having trouble figuring them out for arms and legs. What I need to know is how the SpriteOffset, ParentOffset, IdleOffset, JointOffset, MaxLength etc. etc. are important for arms and legs. Should the sprite offset be at the exact shoulder/hip joint, where it would connect to the torso, or closer towards the elbow/knee or center of the sprite? That sort of thing. I've been struggling with a similar problem but on a more basic level. Why is there no "Dictionary of All the Terms in CC Code?" Nobody will bother to make it. Its really too simple to care about. It seems simple if you already know what a MOpixel is or what DeepGroup means. Me, I've never done this before, and have no point of reference for any of it. Duh102 wrote: If you can't find it in the List of Cortex Variables Defined, then ask someone to put it in there. Thanks! This'll help out a ton. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |