Anyone know why the mesh won't move with this code?
Posted: Wed Apr 04, 2007 9:26 pm
When I use this:
slv2.fPos = vec2
The bone in question (slv2) moves on screen just as it should, but the mesh bound to that bone doesn't move. vec2 is a position derived from another bone position and is added to this bone's (slv2) position.
If I add a key frame for slv2 then it does update the mesh properly.
I am trying to eliminate key frames where they aren't needed. I just want the slave bone to move without generating a key frame, like a constraint. I can't use a constraint because the target bone isn't really moving it is translated based on another bones rotation. This "target" bone does have a key frame.
Everything works as it should, the problem is that the mesh doesn't update. Is there a way to force the mesh to update?
-vern
slv2.fPos = vec2
The bone in question (slv2) moves on screen just as it should, but the mesh bound to that bone doesn't move. vec2 is a position derived from another bone position and is added to this bone's (slv2) position.
If I add a key frame for slv2 then it does update the mesh properly.
I am trying to eliminate key frames where they aren't needed. I just want the slave bone to move without generating a key frame, like a constraint. I can't use a constraint because the target bone isn't really moving it is translated based on another bones rotation. This "target" bone does have a key frame.
Everything works as it should, the problem is that the mesh doesn't update. Is there a way to force the mesh to update?
-vern