How to stop an actor at his location upon collision?
Dell7730
Member, PRO Posts: 388
How can I make an intended actor to stop at his X, Y position upon whatever trigger I set it to like on collision or clicking of another actor?
Answers
@dellagarpo make a self attribute boolean called Stop.
-When "collision or whatever" happens, change self.Stop to true.
-when self.Stop is false ( have your movement method in this rule)
That way it will not be moving if collision or whatever trigger happens.
Thanks for the response but I already figured it out