|
Page 1 of 1
|
[ 10 posts ] |
|
Author |
Message |
Arcalane
Joined: Sun Jan 28, 2007 10:32 pm Posts: 1609 Location: UK
|
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.
|
Sat Dec 17, 2011 4:29 pm |
|
|
Lizardheim
DRL Developer
Joined: Fri May 15, 2009 10:29 am Posts: 4107 Location: Russia
|
Re: Actor Arm/Leg Offsets?
Spriteoffset should be where the joint connecting it to the main body is.
|
Sat Dec 17, 2011 5:53 pm |
|
|
Coops
Joined: Wed Feb 17, 2010 12:07 am Posts: 1545 Location: That small peaceful place called Hell.
|
Re: Actor Arm/Leg Offsets?
Lizardheim wrote: Spriteoffset should be where the joint connecting it to the main body is. Really? ♥♥♥♥.
|
Sat Dec 17, 2011 10:09 pm |
|
|
Arcalane
Joined: Sun Jan 28, 2007 10:32 pm Posts: 1609 Location: UK
|
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.
|
Sat Dec 17, 2011 10:53 pm |
|
|
Naxete
Joined: Fri Apr 30, 2010 2:12 pm Posts: 560
|
Re: Actor Arm/Leg Offsets?
I though jointoffset was where the joint is produced...
damn myself! (?)
|
Sat Dec 17, 2011 11:07 pm |
|
|
robolee
Joined: Fri May 11, 2007 4:30 pm Posts: 1040 Location: England
|
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.
|
Wed Dec 21, 2011 7:58 pm |
|
|
Zazix
Joined: Wed Dec 14, 2011 3:46 am Posts: 20
|
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?"
|
Thu Dec 22, 2011 3:48 pm |
|
|
trystanr
Joined: Sat Oct 09, 2010 10:01 am Posts: 303 Location: Afrique d' Sud
|
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.
|
Fri Dec 23, 2011 9:51 am |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
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.
|
Sat Dec 24, 2011 7:07 am |
|
|
Zazix
Joined: Wed Dec 14, 2011 3:46 am Posts: 20
|
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. Thanks! This'll help out a ton.
|
Mon Dec 26, 2011 9:57 am |
|
|
|
|
Page 1 of 1
|
[ 10 posts ] |
|
Who is online |
Users browsing this forum: No registered users |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|