I have an example like the “Many Crates” example where objects fall constantly from the sky, and I make these draggable. But I have a few issues and wonder if anyone had any advice
* when i drag an item towards the ground, it starts moving wildly on the ground. I think this may be related to the circular collision issue, but in fact some of my items are boxes.
* objects are constantly added in front of the dragged object. should i re-insert it to the top constantly during dragging (or even in a “front drag” layer separate to the others)
* items hitting the dragged object are causing it to spin wildly. I’ve tried setting the angularDamping high but this made it turn in discrete angles eg an abrupt 15 degrees at a time rather than a smooth rotation (maybe i set it too high?)
* are there any other properties that would be a good idea to set on the object during dragging (i don’t really want fixed rotation though)
it’d be great if someone could adapt “many crates” with example drag behaviour, that doesnt give these issues. I’m not sure if it’s my code or a problem with the corona physics. note though my example is continuous (timer repeat = -1), removing crates that fall outside of the x bounds.
thanks
j
[import]uid: 6645 topic_id: 3540 reply_id: 303540[/import]