Hi, noticed something weird with the bullet behavior when I set it to BOUNCE OF SOLID. In the CAPX if I have this set OFF the bullets head for the mouse coords as I want them to, no problem. Set the bounce option to on and suddenly they're firing out in the opposite direction to the mouse position. I've tried adding +180 to the angle to counter this but it didn't work.
The option to bounce is set ON in the CAPX. Just turn it off to see how it works OK without it.
AMD 645 BLACK EDITION
4 Gig RAM
Nvidia 560 Ti
Windows 7 64
Google Chrome Version 23.0.1271.40 beta-m (tried with none beta too)
Develop games in your browser. Powerful, performant & highly capable.
You're creating the Bullet's inside a Solid object.
Try setting an image point for your Sprite just in front of it and spawn the Bullets there.
edited capx (r108.2)
Closing as not a bug. You should not make the player solid. If you spawn an object inside something solid, this is an impossible situation in the real world, so you should not expect anything realistic to happen either! Try spawning the objects just outside the object, or remove the solid behavior from the player.
LOL! What an idiot I am. Man I feel stupid. Obv the bullets are bouncing off the player sprite. Cheers man, you're a life saver. I'll get me coat ...
his is an impossible situation in the real world, so you should not expect anything realistic to happen either!
Hay! This is Constuct 2 we're talking about here, of course it can do impossible things, don't you ever doubt it again! There, there C2, don't you listen to the nasty man <img src="smileys/smiley2.gif" border="0" align="middle" />