I've been trying to solve this on my own but I can't. It seems that EVERY animation is being rotated to match the player's direction. When setting up attacks you can place rotate animation in the parameters and it will rotate it with the player's direction; however, it doesn't work properly and every animation played will rotate. It's REALLY annoying I'd just comment the rotation out all together but I'd like the animations when you attack to be rotated. The Yggdrasil Visual script with the rotation is included below.
CODE
#--------------------------------------------------------------------------
# * Set Animation Sprite
# frame : Frame data (RPG::Animation::Frame)
#--------------------------------------------------------------------------
alias iex_ygg_spc_animation_set_sprites animation_set_sprites unless $@
def animation_set_sprites(*args)
iex_ygg_spc_animation_set_sprites(*args)
if @character.abs_useing_atk_anim
for i in 0..15
sprite = @animation_sprites[i]
#adding_angle = IEX::YGGDRASIL::DEFAULT_ANIM_ANGLE
unless @character.iex_anim_lock_direc
direc = @character.direction
else
direc = @iex_started_direction
end
case direc
when 2; adding_angle += @character.abs_reverse_blade_anim ? -90 : 90
when 4; adding_angle += @character.abs_reverse_blade_anim ? 180 : 0
when 6; adding_angle += @character.abs_reverse_blade_anim ? 0 : 180
when 8; adding_angle += @character.abs_reverse_blade_anim ? 90 : -90
end
if @character.abs_reverse_blade_anim
sprite.mirror = true
end
sprite.angle += adding_angle
end
end
end
The @abs_useing_atk_anim variable is set to true when you use an attack that has rotate animation in the parameter; however, I'm not sure that it works.
If anyone has a solution to this please let me know.