How can I make an object flip once and not flip again when you go in the scene with the object
Do
If (flipped) {
Flip
}
to make an object face right (normal)
If an object was not flipped already, this code will not run
Or
If (not(flipped)) {
Flip
}
to make an object face left (flipped)
If an object was already flipped, this code will not run
These two will make an object only flip once. Perfect for making enemies turn around in games.
You can also just make the width a negative value, but just flipping is better, imo.
3 Likes
Hmm ok a bit confusing but I’m sure I can do it
4 Likes
You can do it, I believe in you.
4 Likes
Just wondering how do I make the not flipped code
4 Likes
Oh never mind I figured it out
4 Likes