Connect FlxSprite to another FlxSprite (like movieclip in flash)

31 views
Skip to first unread message

Emin Fedar

unread,
Dec 31, 2015, 1:27:18 PM12/31/15
to HaxeFlixel
Hi, how can I connect a FlxSprite to another FlxSprite [like a hand and a sword]? The sword must rotate and move with hand. I hope u understand it.

.


Thanks!


Jeru Sanders

unread,
Jan 1, 2016, 5:24:04 PM1/1/16
to HaxeFlixel
Do the objects need to maintain their individuality? If not you can stamp the graphics together.
Otherwise maybe change the origin to be at the desired pivot point and rotate them both the same amount.
Reply all
Reply to author
Forward
0 new messages