View unanswered posts | View active topics It is currently Sat Dec 28, 2024 5:01 pm



Reply to topic  [ 10 posts ] 
 Actor Arm/Leg Offsets? 
Author Message
User avatar

Joined: Sun Jan 28, 2007 10:32 pm
Posts: 1609
Location: UK
Reply with quote
Post 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
Profile YIM
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post 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
Profile
User avatar

Joined: Wed Feb 17, 2010 12:07 am
Posts: 1545
Location: That small peaceful place called Hell.
Reply with quote
Post 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
Profile
User avatar

Joined: Sun Jan 28, 2007 10:32 pm
Posts: 1609
Location: UK
Reply with quote
Post Re: Actor Arm/Leg Offsets?
:roll:

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
Profile YIM
User avatar

Joined: Fri Apr 30, 2010 2:12 pm
Posts: 560
Reply with quote
Post Re: Actor Arm/Leg Offsets?
I though jointoffset was where the joint is produced...

damn myself! (?)


Sat Dec 17, 2011 11:07 pm
Profile
User avatar

Joined: Fri May 11, 2007 4:30 pm
Posts: 1040
Location: England
Reply with quote
Post 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
Profile

Joined: Wed Dec 14, 2011 3:46 am
Posts: 20
Reply with quote
Post 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
Profile
User avatar

Joined: Sat Oct 09, 2010 10:01 am
Posts: 303
Location: Afrique d' Sud
Reply with quote
Post 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
Profile YIM WWW
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post 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
Profile

Joined: Wed Dec 14, 2011 3:46 am
Posts: 20
Reply with quote
Post 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.


Mon Dec 26, 2011 9:57 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 10 posts ] 

Who is online

Users browsing this forum: Google [Bot]


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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.042s | 15 Queries | GZIP : Off ]