Open kmcurry opened 9 years ago
Checked in intermediate updates; only item remaining is serialization.
Completed.
When objects collide on inspection both objects should move. Ex., when I collide two spheres the sphere I'm holding collides around the sphere I hit. The sphere I hit should roll.
Ok, I'm pretty sure I can do that.
On Fri, Feb 13, 2015 at 3:31 PM, Kevin Curry notifications@github.com wrote:
When objects collide on inspection both objects should move. Ex., when I collide two spheres the sphere I'm holding collides around the sphere I hit. The sphere I hit should roll.
— Reply to this email directly or view it on GitHub https://github.com/kmcurry/bwjs/issues/79#issuecomment-74321712.
I can make it move the other object out of the way of the collider, but if you want it to roll, it would have to apply a force. Do you want me to pursue that avenue?
On Fri, Feb 13, 2015 at 3:36 PM, Michael Chase < michaelchasebrazell@gmail.com> wrote:
Ok, I'm pretty sure I can do that.
On Fri, Feb 13, 2015 at 3:31 PM, Kevin Curry notifications@github.com wrote:
When objects collide on inspection both objects should move. Ex., when I collide two spheres the sphere I'm holding collides around the sphere I hit. The sphere I hit should roll.
— Reply to this email directly or view it on GitHub https://github.com/kmcurry/bwjs/issues/79#issuecomment-74321712.
Probably. Let's think it through a bit. I imagine there are times when we want things to just push around for ease assembly and not have physics. So if physics are off then move out of way is the correct behavior and if physics are on then physical behavior is correct. A ball would roll but a block would slide. So is the answer: both?
That sounds fine, although I haven't had a notion of physics on/off other than whether or not there is one present and whether or not the animations are set to play. Do you have a button on 3Scape that turns physics on or off?
On Fri, Feb 13, 2015 at 3:49 PM, Kevin Curry notifications@github.com wrote:
Probably. Let's think it through a bit. I imagine there are times when we want things to just push around for ease assembly and not have physics. So if physics are off then move out of way is the correct behavior and if physics are on then physical behavior is correct. A ball would roll but a block would slide. So is the answer: both?
— Reply to this email directly or view it on GitHub https://github.com/kmcurry/bwjs/issues/79#issuecomment-74324451.
One thing I want to mention is that if you move stuff around fast, the collision detection might not catch it and let it pass through. I'll need to do interval testing to address that.
On Fri, Feb 13, 2015 at 3:52 PM, Michael Chase < michaelchasebrazell@gmail.com> wrote:
That sounds fine, although I haven't had a notion of physics on/off other than whether or not there is one present and whether or not the animations are set to play. Do you have a button on 3Scape that turns physics on or off?
On Fri, Feb 13, 2015 at 3:49 PM, Kevin Curry notifications@github.com wrote:
Probably. Let's think it through a bit. I imagine there are times when we want things to just push around for ease assembly and not have physics. So if physics are off then move out of way is the correct behavior and if physics are on then physical behavior is correct. A ball would roll but a block would slide. So is the answer: both?
— Reply to this email directly or view it on GitHub https://github.com/kmcurry/bwjs/issues/79#issuecomment-74324451.
One other thing, if you leave the physics running for a while you eventually get an error that the arrays cannot be resized further, but I found the option that should fix that, and am testing. It will be fixed in the next update.
On Fri, Feb 13, 2015 at 3:54 PM, Michael Chase < michaelchasebrazell@gmail.com> wrote:
One thing I want to mention is that if you move stuff around fast, the collision detection might not catch it and let it pass through. I'll need to do interval testing to address that.
On Fri, Feb 13, 2015 at 3:52 PM, Michael Chase < michaelchasebrazell@gmail.com> wrote:
That sounds fine, although I haven't had a notion of physics on/off other than whether or not there is one present and whether or not the animations are set to play. Do you have a button on 3Scape that turns physics on or off?
On Fri, Feb 13, 2015 at 3:49 PM, Kevin Curry notifications@github.com wrote:
Probably. Let's think it through a bit. I imagine there are times when we want things to just push around for ease assembly and not have physics. So if physics are off then move out of way is the correct behavior and if physics are on then physical behavior is correct. A ball would roll but a block would slide. So is the answer: both?
— Reply to this email directly or view it on GitHub https://github.com/kmcurry/bwjs/issues/79#issuecomment-74324451.
I've hit that error. Glad to see you can address it. For physics on/off I just mean evaluate=true/false. You and I should talk though so we can be on the same page with expectations. We are going to design what we want first then figure out what's doable now second. :)
When would you like to talk? I'm headed to dinner here in a bit.
On Fri, Feb 13, 2015 at 6:18 PM, Kevin Curry notifications@github.com wrote:
I've hit that error. Glad to see you can address it. For physics on/off I just mean evaluate=true/false. You and I should talk though so we can be on the same page with expectations. We are going to design what we want first then figure out what's doable now second. :)
— Reply to this email directly or view it on GitHub https://github.com/kmcurry/bwjs/issues/79#issuecomment-74344540.
It's not urgent and will take about an hour. I'll follow up.
I still get the array resize error.
On Fri, Feb 13, 2015 at 4:51 PM, Michael Chase Brazell < notifications@github.com> wrote:
One other thing, if you leave the physics running for a while you eventually get an error that the arrays cannot be resized further, but I found the option that should fix that, and am testing. It will be fixed in the next update.
On Fri, Feb 13, 2015 at 3:54 PM, Michael Chase <
michaelchasebrazell@gmail.com> wrote:
One thing I want to mention is that if you move stuff around fast, the collision detection might not catch it and let it pass through. I'll need to do interval testing to address that.
On Fri, Feb 13, 2015 at 3:52 PM, Michael Chase < michaelchasebrazell@gmail.com> wrote:
That sounds fine, although I haven't had a notion of physics on/off other than whether or not there is one present and whether or not the animations are set to play. Do you have a button on 3Scape that turns physics on or off?
On Fri, Feb 13, 2015 at 3:49 PM, Kevin Curry notifications@github.com wrote:
Probably. Let's think it through a bit. I imagine there are times when we want things to just push around for ease assembly and not have physics. So if physics are off then move out of way is the correct behavior and if physics are on then physical behavior is correct. A ball would roll but a block would slide. So is the answer: both?
— Reply to this email directly or view it on GitHub https://github.com/kmcurry/bwjs/issues/79#issuecomment-74324451.
— Reply to this email directly or view it on GitHub https://github.com/kmcurry/bwjs/issues/79#issuecomment-74333321.
Kevin Curry Virginia Beach, VA
3Scape begins @ http://3Scape.me
That's unfortunate news. I stepped into the code yesterday and the memory was not going up. What did you do to get the error? I'll need to reproduce.
On Wed, Feb 18, 2015 at 11:37 AM, Kevin Curry notifications@github.com wrote:
I still get the array resize error.
On Fri, Feb 13, 2015 at 4:51 PM, Michael Chase Brazell < notifications@github.com> wrote:
One other thing, if you leave the physics running for a while you eventually get an error that the arrays cannot be resized further, but I found the option that should fix that, and am testing. It will be fixed in the next update.
On Fri, Feb 13, 2015 at 3:54 PM, Michael Chase <
michaelchasebrazell@gmail.com> wrote:
One thing I want to mention is that if you move stuff around fast, the collision detection might not catch it and let it pass through. I'll need to do interval testing to address that.
On Fri, Feb 13, 2015 at 3:52 PM, Michael Chase < michaelchasebrazell@gmail.com> wrote:
That sounds fine, although I haven't had a notion of physics on/off other than whether or not there is one present and whether or not the animations are set to play. Do you have a button on 3Scape that turns physics on or off?
On Fri, Feb 13, 2015 at 3:49 PM, Kevin Curry < notifications@github.com> wrote:
Probably. Let's think it through a bit. I imagine there are times when we want things to just push around for ease assembly and not have physics. So if physics are off then move out of way is the correct behavior and if physics are on then physical behavior is correct. A ball would roll but a block would slide. So is the answer: both?
— Reply to this email directly or view it on GitHub https://github.com/kmcurry/bwjs/issues/79#issuecomment-74324451.
— Reply to this email directly or view it on GitHub https://github.com/kmcurry/bwjs/issues/79#issuecomment-74333321.
Kevin Curry Virginia Beach, VA
3Scape begins @ http://3Scape.me
— Reply to this email directly or view it on GitHub https://github.com/kmcurry/bwjs/issues/79#issuecomment-74896999.
You are certain you are using the updated code? No caching, etc?
On Wed, Feb 18, 2015 at 11:37 AM, Kevin Curry notifications@github.com wrote:
I still get the array resize error.
On Fri, Feb 13, 2015 at 4:51 PM, Michael Chase Brazell < notifications@github.com> wrote:
One other thing, if you leave the physics running for a while you eventually get an error that the arrays cannot be resized further, but I found the option that should fix that, and am testing. It will be fixed in the next update.
On Fri, Feb 13, 2015 at 3:54 PM, Michael Chase <
michaelchasebrazell@gmail.com> wrote:
One thing I want to mention is that if you move stuff around fast, the collision detection might not catch it and let it pass through. I'll need to do interval testing to address that.
On Fri, Feb 13, 2015 at 3:52 PM, Michael Chase < michaelchasebrazell@gmail.com> wrote:
That sounds fine, although I haven't had a notion of physics on/off other than whether or not there is one present and whether or not the animations are set to play. Do you have a button on 3Scape that turns physics on or off?
On Fri, Feb 13, 2015 at 3:49 PM, Kevin Curry < notifications@github.com> wrote:
Probably. Let's think it through a bit. I imagine there are times when we want things to just push around for ease assembly and not have physics. So if physics are off then move out of way is the correct behavior and if physics are on then physical behavior is correct. A ball would roll but a block would slide. So is the answer: both?
— Reply to this email directly or view it on GitHub https://github.com/kmcurry/bwjs/issues/79#issuecomment-74324451.
— Reply to this email directly or view it on GitHub https://github.com/kmcurry/bwjs/issues/79#issuecomment-74333321.
Kevin Curry Virginia Beach, VA
3Scape begins @ http://3Scape.me
— Reply to this email directly or view it on GitHub https://github.com/kmcurry/bwjs/issues/79#issuecomment-74896999.
I just had a thought... you are probably adding/removing objects over a relatively long period. I found something I can do. I'll get back to you.
On Thu, Feb 19, 2015 at 8:09 AM, Michael Chase < michaelchasebrazell@gmail.com> wrote:
You are certain you are using the updated code? No caching, etc?
On Wed, Feb 18, 2015 at 11:37 AM, Kevin Curry notifications@github.com wrote:
I still get the array resize error.
On Fri, Feb 13, 2015 at 4:51 PM, Michael Chase Brazell < notifications@github.com> wrote:
One other thing, if you leave the physics running for a while you eventually get an error that the arrays cannot be resized further, but I found the option that should fix that, and am testing. It will be fixed in the next update.
On Fri, Feb 13, 2015 at 3:54 PM, Michael Chase <
michaelchasebrazell@gmail.com> wrote:
One thing I want to mention is that if you move stuff around fast, the collision detection might not catch it and let it pass through. I'll need to do interval testing to address that.
On Fri, Feb 13, 2015 at 3:52 PM, Michael Chase < michaelchasebrazell@gmail.com> wrote:
That sounds fine, although I haven't had a notion of physics on/off other than whether or not there is one present and whether or not the animations are set to play. Do you have a button on 3Scape that turns physics on or off?
On Fri, Feb 13, 2015 at 3:49 PM, Kevin Curry < notifications@github.com> wrote:
Probably. Let's think it through a bit. I imagine there are times when we want things to just push around for ease assembly and not have physics. So if physics are off then move out of way is the correct behavior and if physics are on then physical behavior is correct. A ball would roll but a block would slide. So is the answer: both?
— Reply to this email directly or view it on GitHub https://github.com/kmcurry/bwjs/issues/79#issuecomment-74324451.
— Reply to this email directly or view it on GitHub https://github.com/kmcurry/bwjs/issues/79#issuecomment-74333321.
Kevin Curry Virginia Beach, VA
3Scape begins @ http://3Scape.me
— Reply to this email directly or view it on GitHub https://github.com/kmcurry/bwjs/issues/79#issuecomment-74896999.
I think that comment was before you made a fix?
Yes my latest comment was the text message. It should be fixed now.
On Thu, Feb 19, 2015 at 8:52 AM, Kevin Curry notifications@github.com wrote:
I think that comment was before you made a fix?
— Reply to this email directly or view it on GitHub https://github.com/kmcurry/bwjs/issues/79#issuecomment-75054621.
Integrate a physics package