Need help with ricochet
jessiebnyc
Member Posts: 6
In my game I want an enemy actor to bounce around the screen. My problem is getting the actor to not try and keep going in one direction. I want the actor to bounce around continuously off all the walls.
Comments
Use the collide behaviour and have the actor collides off the walls.
I can make it collide off. The problem is the initial movement. If I tell it to move or accelerate in a certain direction it will try to keep going that way after it collides instead of bouncing around the screen
Would you be prepared to reveal the code that makes your project behave as it does ?
Sure. I'm not very far into the game anyway
. . . . ok . . . ?
I'm on my phone right now so i can't right this moment
No problem, the more detailed and precise information you can give the better !
I'm on my computer. How exactly do I share it on here
Do I screen shot or can I share the file?
Whatever you feel is most useful !
You want random bouncing like this?
https://geo.itunes.apple.com/ca/app/eat-more-dots/id1029736825?mt=8
Did you try change attribute self linear velocity x 200. Or could be Y. Numer is the speed.