Hi,
I am programming a project, where I have to push about 50 objects simultaniously using the physics block. I have the Name of the Objects and know the direction. But how can I do it simultaniously? I have tried the Block “set phyics tick rate to …” but everytime I run it, one item starts to fly, and then, about a second later, the next. I hope you guys can help me out with that.
Gerrit
Hi Gerrit,
Use the Run Parallel block in the Control category, and click the cog icon to add a new task.
Cheers,
Geoff @ TechLeap
Hi Geoff,
thanks for your answer. I notived that possibility too. But with about 50 objects, this can be a bit exhausting and confusing. Is there any other way than the run parallel Block?
If you have all the objects in a list, then you can loop through and run the physics blocks inside a run seperately block.
See Using lists in CoBlocks for a tutorial.
Cheers,
Geoff @ TechLeap