|
Indeed I should have.
Actually, as someone else posted, I shouldn't rotate directly anyway, but apply a force - that would have solved the problem - but I should also have a level of tolerance!
This was one of those quick-fixes I stuck in there and promptly forgot about - and now have to fix.
I'll learn, none day, to just get it right in the first place
PooperPig - Coming Soon
|
|
|
|
|
_Maxxx_ wrote: I'll learn, none day, to just get it right in the first place
As a wise man once said, "There's never time to do it right, but there's always time to do it over."
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|
|
Are you adjusting the rotation of the object directly or are you applying forces to the object to get to your desired result?
If you apply forces / impulses to the object Box2D should be able to handle the collisions better.
I expect Box2D is seeing a penetration of 'x', then applying a force to the object that will separate the objects in 1 frame, which could lead to a very large impulse.
|
|
|
|
|
Yep - I'm (foolishly) adjusting the rotation directly!
I originally put in the code as a quick fix, for a single object, and forgot all about it.
You're right, I should apply an impulse to nod it in the right direction - perhaps I'll add that to my growing list of TODO:
PooperPig - Coming Soon
|
|
|
|
|
Sinking a floater!
Had a whole different thought in mind when I first read the header. Sticks, yellow gloves, perhaps a mask and goggles.
Ok breakfast is definitely postponed.
New version: WinHeist Version 2.1.0
My goal in life is to have a psychiatric disorder named after me.
I'm currently unsupervised, I know it freaks me out too but the possibilities are endless.
|
|
|
|
|
|
Sorry to say my first thoughts were of a swimming pool.
Once you lose your pride the rest is easy.
In the end, only three things matter: how much you loved, how gently you lived, and how gracefully you let go of things not meant for you. – Buddha
Simply Elegant Designs JimmyRopes Designs
|
|
|
|
|
Yeah that also came to mind.
I had a maintenance job one time in a factory full of women and one day I got a call that one of the toilets in the women's bathroom had backed up and there was water everywhere. Well when I went in there was a ?sinker? so big that it wouldn't go down so I had to get a stick and break it into pieces and flush piece by piece...sorry that's what I thought of when I read the header.
Some memories just stick with you...
New version: WinHeist Version 2.1.0
My goal in life is to have a psychiatric disorder named after me.
I'm currently unsupervised, I know it freaks me out too but the possibilities are endless.
|
|
|
|
|
Mike Hankey wrote: I had a maintenance job one time in a factory full of women
Oh my this can't be going somewhere positive.
Mike Hankey wrote: one day I got a call that one of the toilets in the women's bathroom had backed up and there was water everywhere
Did her water break?
Mike Hankey wrote: I went in there was a ?sinker? so big that it wouldn't go down
I hate when that happens.
Mike Hankey wrote: I had to get a stick and break it into pieces and flush piece by piece
You the man!
I don't have any first hand experience like you do, but the mental image still flashed in front of my eyes.
Once you lose your pride the rest is easy.
In the end, only three things matter: how much you loved, how gently you lived, and how gracefully you let go of things not meant for you. – Buddha
Simply Elegant Designs JimmyRopes Designs
|
|
|
|
|
I tell you what you would think that working with a bunch of women would be cool, sometimes was but most of the time a PITA.
New version: WinHeist Version 2.1.0
My goal in life is to have a psychiatric disorder named after me.
I'm currently unsupervised, I know it freaks me out too but the possibilities are endless.
|
|
|
|
|
I worked with a bunch of women one time. My biggest problem was keping one from finding out about the other.
Obviously, I was very young, dumb and full of *****. Need I say more.
Once you lose your pride the rest is easy.
In the end, only three things matter: how much you loved, how gently you lived, and how gracefully you let go of things not meant for you. – Buddha
Simply Elegant Designs JimmyRopes Designs
|
|
|
|
|
I was young also, married and had a kid but I still managed a little trouble.
New version: WinHeist Version 2.1.0
My goal in life is to have a psychiatric disorder named after me.
I'm currently unsupervised, I know it freaks me out too but the possibilities are endless.
|
|
|
|
|
A ship, sailing past a remote island, spots a man who has been stranded there for several years. The captain goes ashore to rescue the man and notices three huts.
“What’s the first hut for?” he asks.
“That’s my house,” says the castaway.
“What’s the second hut for?”
“That’s my church.”
“And the third hut?”
“Oh, that?” sniffs the castaway. “That’s the church I used to go to.”
My blog[ ^]
public class SanderRossel : Lazy<Person>
{
public void DoWork()
{
throw new NotSupportedException();
}
}
|
|
|
|
|
Must be a religious thing, because I don't get it...
Anything that is unrelated to elephants is irrelephant Anonymous ----- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944 ----- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
Strangely, there is a Scandinavian joke in the SoapBox that provoked the same response in me.
|
|
|
|
|
I know that you can say a lot about 50 shades, but calling it religious might be a little over the top...
Anything that is unrelated to elephants is irrelephant Anonymous ----- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944 ----- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
No, I just meant I didn't get it.
|
|
|
|
|
|
I'm glad it wasn't just me..
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
Johnny J. wrote: Must be a religious thing Not really. It's just not very funny.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
RyanDev wrote: It's just not very funny.
Yes it is!
Once you lose your pride the rest is easy.
In the end, only three things matter: how much you loved, how gently you lived, and how gracefully you let go of things not meant for you. – Buddha
Simply Elegant Designs JimmyRopes Designs
|
|
|
|
|
Explaining a joke is never funny, but here it goes...
Religious people tend to fight a lot over how their book should be interpreted, thus a new category of that religion is born. E.g. catholics, protestants, reformed... I live in a town with about 3500 people, we used to have two churches, we now have three (because of some fight in one church). A somewhat bigger town a bit further away even has about 12 churches for 14000 people (and that's not all religious people). And a lot of those people go to churches in nearby towns, like mine, because the churches in their own town do something wrong.
Not saying they're all like that, but it happens
Perhaps I just found it to be hilarious because I've seen it happen in my direct environment
My blog[ ^]
public class SanderRossel : Lazy<Person>
{
public void DoWork()
{
throw new NotSupportedException();
}
}
|
|
|
|
|
Can you see a group of programmers translated half-way round-the-world into some tropical zone all following this schedule ?
"7am - yoga, jogging, reading, etc.
8am - breakfast with friends from the group
9:30am - stand-up meeting at the workspace
9:45am - start morning work session
1pm - lunch at a nearby restaurant or cafe
2pm - work, work, work
6pm - talk from one of our mentors
7pm - dinner and hanging out with the group
8pm - games, movies, or nightlife"[^].
They're going arrive in northern Thailand April 5 for whatever: it will be the bloody-hottest time of year, and the air-pollution is almost always, at that time, horrible (seasonal, deliberately set, fires). Beginning April 13, the north will transmogrify into the four-day water-throwing riot, Songkraan (Thai New Year).
Minds will be blown, of that I'm sure.
I hope I can find where these keyboard-gypsies are staying, and drop in on them, just to grok who they are. I wonder if any of them actually have employers paying for these excursions.
«I'm asked why doesn't C# implement feature X all the time. The answer's always the same: because no one ever designed, specified, implemented, tested, documented, shipped that feature. All six of those things are necessary to make a feature happen. They all cost huge amounts of time, effort and money.» Eric Lippert, Microsoft, 2009
|
|
|
|
|
BillWoodruff wrote: 7am - yoga, jogging, reading Jogging at 7am?
I do coffee and a smoke, you go run. Just don't run in the rain, you'll catch a cold.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Jogging?!
|
|
|
|