Search the Community
Showing results for tags 'linear'.
-
Took me forever to figure this out so wanted to share so someone else doesn't have to take forever to figure this out! If you load in a R.U.B.E. generated Box2d scene, setting body.velocity.x or body.velocity.y will not work, nor will body.moveLeft(n), body.moveRight(n), body.moveUp(n) and body.moveDown(n). You have to set body.data.m_linearVelocity.x and body.data.m_linearVelocity.y instead.
-
Hi guys! One question, Can I do linear gradient to bitmap with a tween? Thanks for your help! Regards, Nicholls