View Full Version : Barriers!!!
xtraction
7th February 2010, 16:47
Hi
Me, and im sure every other person who plays LFS is annoyed at one particular thing. THE BUGGY BARRIERS.
Ive just been racing and i touched one of these red and white barriers and i flew in the air so unrealistically it was wierd.
Im starting to get really pis**ed off at this.
When will you devs start fixing things, producing more bug fixes + updates!
Maybe a few other people feel that you guys are slacking, and arnt working hard enough to keep this games standards up (HENSE THE DROP OF ACTIVITY IN THE GAME)
Regards.
boothy
7th February 2010, 16:56
I hit a red and white barrier in real life at 100mph and it killed me :(
hp999
7th February 2010, 16:57
I gotta say that same,it should be fixed. But then someone always comes in and says:
"It has been suggested billion times"
>.<
Haha,I really hope it'll be fixed.
Yuri Laszlo
7th February 2010, 17:01
I gotta say that same,it should be fixed. But then someone always comes in and says:
"It has been suggested billion times"
>.<
Haha,I really hope it'll be fixed.
Why should it be "fixed"? It's not like drivers are supposed to hit them in first place. And if by "fixing" it the devs would have to screw the otherwise realistic enough physics model, then it's simply a no-no.
hazaky
7th February 2010, 17:12
As said before, suggested million times before. Also, theyr not buggy barriers ... its "Rubber barries madness!" or "Jelly barriers"
tommer
7th February 2010, 18:29
Now see I love what error the devs have made here,
The red and white barriers that are in LFS are based on the water filled ones you get in real life, if you were to hit one in real life, your car would not instantly stop, because the barrier is not solid,
HOWEVER the barrier would move with the impact of the car, but significantly slowing it down,
What the devs have done, is made the barrier to be permanant in its position, but still tried to make it 'soft' which is why they turned out like Jelly :D
What should of happend, is that the red and white barriers were made to be a much Heavier version of the hay bale, so that it can move, but not far, thus not flinging the car up in the air, yet being soft and effective at the same time
If that makes any sense :)
- Tommer
piggy501
7th February 2010, 19:47
Makes sense. It HAS been suggested 573 zillion times, so this wasn't needed really, but Tommer has come up with a good idea
What should of happend, is that the red and white barriers were made to be a much Heavier version of the hay bale, so that it can move, but not far, thus not flinging the car up in the air, yet being soft and effective at the same time
That, if not a permanent fix, should be able to do for a temporary basis.
Hey Tommer, BTW :D
ChiliFan
8th February 2010, 05:09
Why should it be "fixed"? It's not like drivers are supposed to hit them in first place. And if by "fixing" it the devs would have to screw the otherwise realistic enough physics model, then it's simply a no-no.
This is a great solution. We can just tell everyone never to make a mistake. I mean it's not like they're doing it by accident or anything.
JasonJ
8th February 2010, 06:30
lucky this was brought up. Never seen this bug :really:
e:
you can fly from hay bales to
devs have stated they want to fix collision bugs.
e:
case and point
100887
Dajmin
8th February 2010, 13:21
I think you'll find the physics are totally accurate :)
http://imcdb.org/images/125/138.jpg
Sponge
8th February 2010, 16:23
It's not the barriers that are 'wrong' or something, it's the collision detection system combined with the physics engine that causes the extreme reaction of cars when hitting them.. it's been explained some while ago.. can't be bothered to search for the topic.. srry.
Furiously-Fast
8th February 2010, 16:35
I wonder if they will fix that in the tyre physics patch... the devs must be re-coding alot of stuff if it is taking that long.
*start of rumormill*
hp999
8th February 2010, 19:18
Why should it be "fixed"? It's not like drivers are supposed to hit them in first place. And if by "fixing" it the devs would have to screw the otherwise realistic enough physics model, then it's simply a no-no.
If you say why it should be fixed then I'd ask -
Why the barriers were added to LFS in the first place?
piggy501
8th February 2010, 20:06
I think you'll find the physics are totally accurate :)
http://imcdb.org/images/125/138.jpg
I lol'd.
Along with those cars that end up in roofs suspiciously... :tilt:
AcesHigh
8th February 2010, 20:29
If you say why it should be fixed then I'd ask -
Why the barriers were added to LFS in the first place?
Probably as a tool for the almighty layout building feature we have in LFS. I do agree its a thing that should be on the "to do" list, but im not really that bothered by it since you dont fly off if you just touch them. If you go hard into them you will fly, but you probably would have a wrecked car anyways after such a hit so it wouldnt matter that much.
Gimpster
9th February 2010, 00:20
This is a known issue, it has many facets that contribute to it and it is on the list of fixes that need to be addressed. The short of it is, issues with collision detection combined with the physics engine's response to a situation where two objects are reported to be occupying the same place at the same time.
The collision part of the issue is that due to a lag issue or physics tic rate limitation, two objects are allowed to pass in to one another before a collision is detected. This is what allows the physics response to happen which is to throw the objects apart violently.
The physics part of the issue is that there is not enough energy absorption allowed in the equation. In the real world energy is absorbed as structures compress, deform and or change states and through energy conversion in to heat which all reduce the amount of energy available to redirect the objects back away from each other.
So combine a situation where little of the potential energy is absorbed or dispersed with the physics engine trying to cope with a situation of overlapping objects, which it was not designed to handle and things get funky fast. Correcting the issue is not an easy thing to do and as I am not a coder I will not try offer a solution, but I can see from a logic point of view what sort of things would need to change, if not how those changes could be implemented.
JasonJ
9th February 2010, 02:40
hehe, very nice gimpster.
And to think.... all along I thought it was 'cause LFS was running on rubber bands :razz:
jtw62074
17th February 2010, 12:55
The collision part of the issue is that due to a lag issue or physics tic rate limitation, two objects are allowed to pass in to one another before a collision is detected. This is what allows the physics response to happen which is to throw the objects apart violently.
In LFS this may very well be the case. My first collision system for Virtual RC Racing years ago did the same thing because I treated contact points two ways fundamentally:
1) There was an impact velocity (more precisely, a "normal" velocity perpendicular to the face that was hit) where a big force was applied to get the contacts to move away from each other at the right speed. This included the coefficient of restitution which is just a multiplier to scale down this velocity. This is the energy absorption you mentioned.
2) An additional spring force that scaled with penetration depth so cars could sit on their roofs without slowly sinking into the ground or a wall if you were wall riding. If memory serves me correctly, this part was only done if the impact velocity was below some arbitrarily chosen threshold.
The main problem with this was twofold:
1) The forces were not taken care of simultaneously correctly. I.e., if you have a bunch of contact points, each with its own velocity, then when you add them up the force can easily be too large even if the coefficient of restitution is very small. For instance, in my old system if you dropped a block on a plane with four contact points, it would solve each one independently and you'd wind up with four times as much force as you should really be getting. BOING!! Flying block :) Combine this with a fairly low velocity impact (like scraping up against a wall rather gently) where the spring forces come in to play and are added to this, potentially to great effect, and whammo: The car could go flying instead of scraping along the wall.
This took all kinds of little checks and hacks for special situations, but was by no means universally good. Good enough 99% of the time if you stay out of trouble and drive properly, but if anybody here has ever played Virtual RC Racing you've undoubtedly seen a car explode across the racetrack now and then after you hit a couple off track objects at the same time at a strange angle or something. This is why :D
2) The interpentration stuff with the springs where the extra force is determined by penetration depth can happen suddenly in some situations and cause another kick on top of this. My old system worked in a pretty simple way where the car was made up of a bunch of potential contact points (like a flight simulator). It was possible for one of these points to be "behind" a triangle yet just off to the side so it was not literally "touching" it yet. If the car moved just a tiny bit, the collision might register and suddenly there is this really huge penetration and resulting spring force. So a car could be sliding upside down very slowly, then just by chance because of how the triangle geometry was in a certain area with a few objects, you'd get this huge collision that would flip a nearly "at rest" car 20 feet in the air end over end. Very annoying and unfortunately a lot of people don't differentiate this part of physics from the driving model end of things. Suddenly the physics suck and it reflects badly on the rest of the very good model where the really important stuff is (the driving/vehicle model which is separate).
In my case problem 1 was more of the situation. It wasn't so much the interpenetration problem, but rather how I was treating simultaneous contacts.
The solution was rather complicated and took nearly a year to figure out and write and is still not perfect in every way, but suffice it to say I can now stick a car half way into a wall and it will pop out in one time step without going flying even an inch. So there are ways around this. In my case though I had to completely throw out the old collision system and start over. It was not a simple fix by any means. Given that it took a year, I'd be surprised to see Scawen bother. Wouldn't you guys rather have something else instead first :)
I don't know how LFS works in this area of course. Just sharing my own similar experience. The interpenetration problem you described here is definitely real in some engines and not others. Changing this is a massive task though. Probably was worse than writing the vehicle model itself...
The physics part of the issue is that there is not enough energy absorption allowed in the equation. In the real world energy is absorbed as structures compress, deform and or change states and through energy conversion in to heat which all reduce the amount of energy available to redirect the objects back away from each other.
Yes, this is true. This turns out to be the simple coefficient of restitution and is no big deal in practice. You have a target velocity that you're trying to make a certain contact point reach after hitting something and just scaling it down with a single multiplication. (It's just a single line of code in my engine.) In my system at least this was not one of the real problems. I doubt it is in LFS either, but could be wrong.
So combine a situation where little of the potential energy is absorbed or dispersed with the physics engine trying to cope with a situation of overlapping objects, which it was not designed to handle and things get funky fast. Correcting the issue is not an easy thing to do and as I am not a coder I will not try offer a solution, but I can see from a logic point of view what sort of things would need to change, if not how those changes could be implemented.
I'd be surprised to see this ever fixed. If I had to vote I'd say spend the next many many months or a year doing other things rather than rewriting the whole collision response system.
Mille Sabords
17th February 2010, 13:25
Don't forget that this does not apply to solid objects on track...
SO walls, even softs ones, never seem to send you flying.
You can get a launch from the wall surrounding the track areas, but only when you manage to get one car wheel inside the wall (massive crash involved, from what I know you have to approch the wall from above to do that).
I remember an interesting hypothesis from AndroidXP some time ago, explaining that the bug was probably caused by the thickness (lack of) of the barriers - allowing the car to penetrate the barrier in between collision calculations. You only get a launch when the wheel and the barrier intersect, the car body seems to react "normally" to collisions.
fab_iceman_67
17th February 2010, 13:38
I think you'll find the physics are totally accurate :)
http://imcdb.org/images/125/138.jpg
Hahaha :thumb:
I have a solution for you Sean (and all who want the barrier bug fix) : Stop playing on cruise server :uglyhamme
Fire_optikz001
17th February 2010, 13:57
Stop playing on cruise server
Cruise servers arn't the problem its the noobs* on them...
*Not all Cruisers are noobs....
xtraction
17th February 2010, 23:23
*Not all Cruisers are noobs....
Is that so?
So if Slap you guys on a track, with an FZR in a race with 10-20 people on it, you wont fail? I only know 2-3 good Cruisers who can manage to race.:D This may not be the case for all of you. :P
You may not be noobs because you make over 200 laps a day, on the same track, at speed limits.. :tilt:
FLAMING TIME :schwitz:
nikopdr
20th February 2010, 14:17
When will you devs start fixing thingsWhen will you learn to drive? ;)
The Very End
21st February 2010, 12:22
Wouldn't the simplest sollution be to make the barrier solid? Look on fences on BL3, no matter how hard you hit them, those sons of bitches won't move - nor send your car flying.
What if the devs somewhat could code the barriers to be absolute solid?
Why can't this be done / what are the limitations?
matijapkc
21st February 2010, 13:14
Why can't this be done / what are the limitations?
It could be done... But they want them to be soft, and still to stop your car. Like water filled barrels. That's why they can't just be solid. And try to drive a lap around Oval and hit the concrete between track and pits. What happens? Here's the video. Sorry for drivin' on keyboard. (Unlimited attachments. :D)
brandons48
21st February 2010, 13:17
BTW - It's not just the crusiers that want this fixed, people who race on custom layouts (like me) don't want to fly into the air whilst doing a hillclimb run at over 100mph.
xtraction
21st February 2010, 15:32
When will you learn to drive? ;)
Lol!? are you serious mate?
you cant drive for shit ^^
The Very End
21st February 2010, 15:39
:rofl:
A little evil hu? :shy:
xtraction
21st February 2010, 16:41
naw.
check him out at GTAL next weekend, bet he crash more than 3 times. :tilt:
Hahmo
21st February 2010, 19:41
Just like in the 0b =)
Mountaindewzilla
24th February 2010, 01:55
I would rather have barriers that don't reduce my frame rate by sixty percent whenever I open a layout than ones that don't throw my car flying. :shrug:
JasonJ
26th February 2010, 11:28
Running layouts with many Auto-X objects in view is the electronic equivalent of carrying a frying pan full of water by the handle only. It takes a lot of concentration.
You need a good'ish CPU.
edit: I had to get an Intel e8400 to get decent frame rates over 60fps on large layouts.
jaykay3000
26th February 2010, 14:20
I can't imagine people try to play lfs with much more than a p4.
Luke.S
2nd March 2010, 16:28
well a phenom 2 is much much more than a p4
Gimpster
5th March 2010, 23:27
Maybe the solution is to make them not solid and give them a mass that puts them in the right weight category as a concrete barrier and then when you hit one it should act more like hitting another car. There is still the potential for adverse physics reaction as is seen some time in car to car collisions but it would happen less. More like a really heave tire stack.
CodieMorgan
15th March 2010, 11:24
I hit a red and white barrier in real life at 100mph and it killed me :(
Me too. I didn't live long enough to see this thread and make a reply. :razz:
SimonJ
3rd April 2010, 09:46
Maybe the solution is to make them not solid and give them a mass that puts them in the right weight category as a concrete barrier and then when you hit one it should act more like hitting another car. There is still the potential for adverse physics reaction as is seen some time in car to car collisions but it would happen less. More like a really heave tire stack.
This is probably the best solution to this, I hate when I glance at a barrier and because it doesn't like me, decides to reverse the gravitational force on my car.
Going 40MP/h into one isn't a good idea, nor is it at 40MP/h Braking speed.
Even the crappy little UF1 likes to go into Orbit on first gear.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.