About Store Forum Documentation Contact



Post Reply 
bug with cskeleton class?
Author Message
nero81af Offline
Member

Post: #1
bug with cskeleton class?
hi
I'm not sure about this but I have an animated mesh (mesh + cskeleton)

when I try to move the skeleto with .move() or .offset(), if I call .updateMatrix(cskele.matrix()).updateVelocities() I get nothing..

to have this to work I need to make a cusom matrix with the offset vec insteat of the pos part and then use this with updateMatrix.. is this a bug?
02-13-2010 09:33 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: bug with cskeleton class?
what's your code?

first you need to set the matrixes (updatematrix), then you can apply the optional move/offset
02-13-2010 03:17 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #3
RE: bug with cskeleton class?
if you want to apply offset before updatematrix
you should either pass modified matrix to the updatematrix
or adjust cskel.root.pos before updatematrix
02-13-2010 03:25 PM
Find all posts by this user Quote this message in a reply
nero81af Offline
Member

Post: #4
RE: bug with cskeleton class?
ok: in my code I called .move before .updateMatrix I'll try to switch.. anyway I got it to work passing a modified matrix smile
02-14-2010 04:45 PM
Find all posts by this user Quote this message in a reply
Post Reply