How do I convert equation to negative number?
Simple Gamer Arts
Member, PRO Posts: 305
How do I convert this equation outcome into a negative # ?
game.CAMERA ORIGIN X +( game.Camera SIZE X *.95)
Comments
*-1
@Socks
(game.CAMERA ORIGIN X +( game.Camera SIZE X *.95)) *-1
?
@Socks I mean, I know it's *-1, but how do I make it work in this formula?
I've been trying all sorts of ways but it's not working... I just need to know how to write it in this formula the right way, with the parenthesis etc ect.... if you miss one parenthesis, it messes everything up.
Just add *-1
If you multiply any positive number by -1 it will become negative.
So . . .
(game.camera.orgin.x +( game.camera.size.x
*
0.95))*
-1Or
-1
*
(game.camera.orgin.x +( game.camera.size.x*
0.95))Or
0-(game.camera.orgin.x +( game.camera.size.x
*
0.95))etc
@Socks Thank you. That helps a lot!