midnight_stories opened this issue on Feb 23, 2011 · 9 posts
midnight_stories posted Thu, 24 February 2011 at 12:46 AM
I didn't need the actor rWing:1 part
but got some problem with the trackingScale
I might have to keep it the same for all morphs
Here's a shot of it working in positive
Quote - You have seperate up and down morphs. Sorry, I missed that. So if you want to use morphs to flap the winge, it's a teeny bit more complex. you have to force limits on the morph channels, and use a negative deltaAddDelta on one of the morphs:
actor BODY:1
{
channels
{
valueParm Wings-Flap
{
name Wings-Flap
initValue 0
hidden 0
forceLimits 0
min -100000
max 100000
trackingScale 0.004
keys
{
static 0
k 0 0
}
interpStyleLocked 0
}
}
}
actor lWing:1
{
channels
{
targetGeom Wing-Bend-Up
{
name -
initValue 0
hidden 1
forceLimits 1
min 0.000
max 1.000
trackingScale 0.02
keys
{
static 0
k 0 0
}
interpStyleLocked 0
valueOpDeltaAdd
Figure 1
BODY:1
Wings-Flap
deltaAddDelta 1.000000
indexes 0
numbDeltas 0
deltas
{
}
blendType 0
}
targetGeom Wing-Bend-Down
{
name Wing-Bend-Down
initValue 0
hidden 1
forceLimits 1
min 0.000
max 1.000
trackingScale 0.02
keys
{
static 0
k 0 0
}
interpStyleLocked 0
valueOpDeltaAdd
Figure 1
BODY:1
Wings-Flap
deltaAddDelta -1.000000
indexes 0
numbDeltas 0
deltas
{
}
blendType 0
}
}
}
actor rWing:1
{
channels
{
# same as for the lWing above.
}
}