#Flip enemy weapon

8 messages · Page 1 of 1 (latest)

hazy crescent
#

Just off the top of my head im thinking you could make the npc flip its weapon based on the position of its target

#

Something like if target_position.x > npc_position.x: flip_v = false

#

Basically the enemy having auto target would probably be the easiest solution

hazy crescent
#

Did it work?

weary owl
# hazy crescent Did it work?

it does, found myself in another situation though and need to do some restructuring of my scenes, have a Weapon scene that i use for my ai and my player

hazy crescent
#

Im a beginner too but ill try to help with whatever you need

weary owl