Hi all,
I been working on an idea for a while now, but I'm only half satisfied with the way it controls so figured I should swallow my pride and ask the mother-brain for help.
Essentially, it's a kind of pullback toy car. Here's the bare bones of it. https://www.dropbox.com/s/5rkgpjwx2tc2wu3/Pullback%20Test.capx?dl=0 Just drag the car back and release it.
It borrows heavily from the examples of how to make an Angry Birds style catapult, but with Zero world gravity to make it top down, and dampening on the car to make it a bit more realistic (a bit). In hindsight this may not be the best way to approach this but couldn't think of anything better. The main issue I'm having is how to stop the car being moved through walls while it's being pulled back.
Would I perhaps be better using Drag and Drop behavior to pullback the car? If so how would I make that affect the physics impulse AND be able to stop it when its dragged into a wall? There are no real hard and fast rules here, except that the car must have Physics behavior and it's propulsion speed upon release must be based on how much it has been pulled back.
Any ideas, suggestions or feedback would be greatly appreciated.
PS: The cute car asset is from here http://www.kenney.nl/assets/racing-pack