I have around 12 circles in my space. After playing around with them for some time, I see the velocity of the balls keep increasing like hell, so much that they blast through other bodies.
I have put in a hack which caps the velocity. But I dont think that is the way to do things. I am sure that I am doing something wrong. Please suggest.
body velocity increasing like anything
-
- Posts: 3
- Joined: Tue Nov 04, 2008 4:17 am
- Contact:
-
- Posts: 56
- Joined: Tue Jul 15, 2008 4:13 am
- Contact:
Re: body velocity increasing like anything
Are you manually applying any force? because forces don't get reset automatically, you need to do that yourself.
The only other thing I could think of would be some crazy value for elasticity of the shapes.
The only other thing I could think of would be some crazy value for elasticity of the shapes.
-
- Posts: 3
- Joined: Tue Nov 04, 2008 4:17 am
- Contact:
Re: body velocity increasing like anything
no, not applying any force on my own.
As the bodies collide, I see the velocity increase.
As the bodies collide, I see the velocity increase.
-
- Posts: 157
- Joined: Mon Aug 20, 2007 12:53 pm
- Location: London, UK
- Contact:
Re: body velocity increasing like anything
So what about the elasticity? If it's close to or above 1 that'll cause what you're describing.
Who is online
Users browsing this forum: No registered users and 5 guests