Actor moving exclusively within another actor
BlahaPT
Member Posts: 0
Hi All.
I am new to the forum but have been sweating it day and night learning all the cool stuff with GS. But now I am stumped.
I have a game where once a bacterium, ACTOR 1 lands on a dog, ACTOR 2 I want ACTOR 1 to be able to move all along ACTOR 2 the dog - but not be able to leave the dog - so when ACTOR 1 gets to the "edge" of ACTOR 2 I want him snapped back and not be able to leave i.e,not even a pixel of ACTOR 1 not to overlap before ACTOR 1 is snapped back.
I don't want to do this with invisible walls just by a rule - but cant figure out what rule to apply.
Thank you guys for helping.
BlahaPT
I am new to the forum but have been sweating it day and night learning all the cool stuff with GS. But now I am stumped.
I have a game where once a bacterium, ACTOR 1 lands on a dog, ACTOR 2 I want ACTOR 1 to be able to move all along ACTOR 2 the dog - but not be able to leave the dog - so when ACTOR 1 gets to the "edge" of ACTOR 2 I want him snapped back and not be able to leave i.e,not even a pixel of ACTOR 1 not to overlap before ACTOR 1 is snapped back.
I don't want to do this with invisible walls just by a rule - but cant figure out what rule to apply.
Thank you guys for helping.
BlahaPT