d-soldier wrote:... So I re-rendered my walker... For some reason I cant even get the new version to do what I want... The rotating top piece is parented to the legs, and should rotate around and follow the player (tried both 180 and 360 angles for this)... Anyone?!?
if the top piece has 2 animations(left and right)
and each animation is 1 frame, use this code on its draw actor event,
- Code: Select all
if(player.x < x)ChangeAnimation("Event Actor", "your_animation_for_left", FORWARD);
if(player.x >= x)ChangeAnimation("Event Actor", "your_animation_for_right", FORWARD);