away3D ライブラリに問題があります。AS3DMod を使用して立方体に曲げを適用したいのですが、うまくいきません。私の立方体は、曲げようとすると切断されてしまいます :p それらはあらゆる方向に曲がり、曲げのパターンを見つけることができないようです。誰でもこれに関する経験(またはアドバイス)はありますか?前もって感謝します。
private function bend(e:MouseEvent3D):void
{
//We get the current target.
var _target:Cube = e.target as Cube;
//We create a new modifier.
var _bend:Bend = new Bend(2);
_bend.constraint = ModConstant.LEFT;
_bend.bendAxis = ModConstant.LEFT;
var _mod:ModifierStack = new ModifierStack(new LibraryAway3d(), _target);
_mod.addModifier(_bend);
//We play the modification.
_mod.apply();
//We render the scene.
render();
}