Hey, I am relatively new to physics engines (and AS3 for that matter) but I was wondering if anyone would be able to help me with a problem that I have been having.
Basically, I am looking to spawn a few objects onto the screen (look at them as basic balls), at random positions accross the top of the screen. I then want the physics to take effect on them and for them to fall/collide with what I have already underneath.
I tried to do this with basic spawns, but it doesnt spawn them into the physics world and I have been unable to find anywhere that says how to do it. I have seen in the demo (on the stacked boxes one) that you could also set it up for me to click to spawn things in, but I have been unable to extract what I need from the demo due to being a beginner 🙂
Any help would be greatly appreciated!
Basically, I am looking to spawn a few objects onto the screen (look at them as basic balls), at random positions accross the top of the screen. I then want the physics to take effect on them and for them to fall/collide with what I have already underneath.
I tried to do this with basic spawns, but it doesnt spawn them into the physics world and I have been unable to find anywhere that says how to do it. I have seen in the demo (on the stacked boxes one) that you could also set it up for me to click to spawn things in, but I have been unable to extract what I need from the demo due to being a beginner 🙂
Any help would be greatly appreciated!