Tell if actor is moving.
Hey guys,
I would like to know if there is a way to know, in-game, if an actor is moving. Is this possible?
I have searched the forums and I couldn't find anything.
Thanks for your time,
Bray
I would like to know if there is a way to know, in-game, if an actor is moving. Is this possible?
I have searched the forums and I couldn't find anything.
Thanks for your time,
Bray
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Comments
if linear velocity x is 0 your players not moving at all on the x, if its greater then 0 hes moving right, if its a negative and less then 0 hes moving left
if linear velocity y is 0 your players not moving on the y at all, if its greater then 0 hes moving up and if its a negative and less then 0 hes moving down
hope that helps
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
What I want is when a ball isn't moving anymore, then i want it to be unmovable.
So here is what I have:
Rule: When attribute self. linear velocity x is 0 and when linear velocity y is 0:
Change attribute self.Physics.movable TO false.
But they still move when another ball hits it.
Any idea why?
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
constrain the linear motion x and y to 0 if you want it to become not moveable
or record the position you want it to stay at and constrain the self position x and y to those cordinates
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
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
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx