Search found 34 matches

by torncanvas
Sat Jan 19, 2008 7:34 pm
Forum: How Do I...?
Topic: Floating point after releasing it from binding
Replies: 1
Views: 832

Der, not really a bug at all.....it's in the menu. Got it! Man, I never use that menu... Heh, so yeah just for easier searching for others, the problem I've having is this: I used the Bind Points tool to bind a point, then I released it later, and it's just floating there not bound to anything. And ...
by torncanvas
Sat Jan 19, 2008 7:15 pm
Forum: How Do I...?
Topic: Floating point after releasing it from binding
Replies: 1
Views: 832

Floating point after releasing it from binding

I've seen someone talk about how to fix this problem, but I forgot where, and after searching the forums for a half hour I really need to be figuring this out. I used the Bind Points tool in an attempt to fix a skinning issue, but now I want to put the point back to Region Binding. How do I do this ...
by torncanvas
Sat Jan 12, 2008 6:04 pm
Forum: Scripting
Topic: Help with bone position/rotation export script
Replies: 29
Views: 13528

Sweet, I guess I figured globals wouldn't be persistent like that. It's good to know they are, because I was writing the frame to a file and using dofile() to pull it back in. :P This is much cleaner and doesn't require a file. HUGE thanks for your help guys! I still can't use a menu script, but thi...
by torncanvas
Thu Jan 10, 2008 11:23 pm
Forum: Scripting
Topic: Help with bone position/rotation export script
Replies: 29
Views: 13528

Yeah, I took your advice from a while ago and found the CC script - I based mine off of save_layer_animation. The problem with that script is that Macton used GetValue, which is available for AnimVecs and AnimVals, but not for Matrices. Assigning a value to moho.layer does work, at least I print it ...
by torncanvas
Thu Jan 10, 2008 1:49 am
Forum: Scripting
Topic: Help with bone position/rotation export script
Replies: 29
Views: 13528

Well, simply using "moho.frame = j" does change moho.frame, but all my values are still the same. Does anyone know what actually happens when you click on the timeline? I made a version of this as an embedded script, but I have to have all the bones in a frame instead of all the frames in ...
by torncanvas
Wed Jan 09, 2008 11:35 pm
Forum: Scripting
Topic: Help with bone position/rotation export script
Replies: 29
Views: 13528

API docs here: viewtopic.php?t=1031
by torncanvas
Wed Jan 09, 2008 10:50 pm
Forum: Scripting
Topic: Help with bone position/rotation export script
Replies: 29
Views: 13528

Yeah, that's what I read in the API docs, so I didn't think I needed that, but I was confused that Genete's example had it. Anyway, I'll take it out.

I'm using a menu script, but I need to actually advance the timeline to get the next frame's value.
by torncanvas
Wed Jan 09, 2008 10:39 pm
Forum: Scripting
Topic: Help with bone position/rotation export script
Replies: 29
Views: 13528

Ok, everything is looking great. Our programmer Mike made a visualization app and the values are coming through ok! One problem left: I'm using a regular script - as in not embedded - based on the Crashcore script, and the values aren't getting updated for the following frames. It's just frame 1 val...
by torncanvas
Wed Jan 09, 2008 9:10 pm
Forum: Scripting
Topic: Help with bone position/rotation export script
Replies: 29
Views: 13528

The position is just origin.x and y - got it. Hey thanks a lot for helping me out with this. Using this script is quite a bit simpler. I appreciate it. :)
by torncanvas
Wed Jan 09, 2008 4:43 pm
Forum: Scripting
Topic: Help with bone position/rotation export script
Replies: 29
Views: 13528

Thanks Genete. I had a feeling you might show up and show some matrix-y stuff. I was looking at this script last night and hoping I could glean something from it. I've got to say, I still can't. What exactly is being calculated? It seems like it's just setting the bone to point right... Anyway, I go...
by torncanvas
Wed Jan 09, 2008 7:55 am
Forum: Scripting
Topic: Help with bone position/rotation export script
Replies: 29
Views: 13528

Yeah, I got the crazy position maths figured out no problem: local docRatio = docWidth/docHeight ... v1.x = ((v1.x+docRatio)/(docRatio*2)) * docWidth v1.y = docHeight - (((v1.y+1)/2) * docHeight) Yeah, I forgot Flash rotation is backwards. Good point there. Easy fix though, just do this: v2 = 360 - ...
by torncanvas
Wed Jan 09, 2008 5:59 am
Forum: Scripting
Topic: Help with bone position/rotation export script
Replies: 29
Views: 13528

That would be awesome. I have that sort of functionality going right now, but for some reason, it's only running on the first frame...?
by torncanvas
Wed Jan 09, 2008 3:40 am
Forum: Scripting
Topic: Help with bone position/rotation export script
Replies: 29
Views: 13528

Man, I'm so close. I just need to get a global rotation value in degrees. First of all, fPos and fAngle seem to just give me the bind pose values. So I'm using fAnimAngle and fAnimPos to get the actual values per frame. However, fAnimPos gives me the rotation in radians in relationship to its parent...
by torncanvas
Wed Jan 09, 2008 12:56 am
Forum: Scripting
Topic: Help with bone position/rotation export script
Replies: 29
Views: 13528

Once I get done with my thingy, I'll make sure to post it here. :) Yeah escaping is straightforward, I'm using "\n" for newlines and "\t" for tabs to make the XML all pretty and indented. I've also discovered here that you can use double brackets to assign a big block a la: skelX...
by torncanvas
Tue Jan 08, 2008 7:59 pm
Forum: Scripting
Topic: Help with bone position/rotation export script
Replies: 29
Views: 13528

Haha, well I hope you had a great dinner. Thanks for the help. The comma actually isn't a problem, it's just a way to separate things. The next thing is concatenated with a tab so it's similar to the ".." in that sense. I guess I thought GetValue would run when I did my assigning, but I gu...