move then when hit stop
prince.studios
Member Posts: 77
hi every body
i wanted to know how to make an actor stop when it hits a wall or something
i wanted to know how to make an actor stop when it hits a wall or something
Comments
Now, you can use the move behavior or whatever you need. Say your using the move behavior. Take that move behavior, and wrap it in a rule that states:
When attribute self.Hit-Stop is false,
Move
Now, create another rule:
when overlaps or collides with wall,
Change attribute self.Hit-Stop to true
This will stop your actor. This is only one way (and maybe the easiest) of doing this.
Hope this helps
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx