The online racing simulator
Too many physics objects?
(7 posts, started )
Too many physics objects?
In the first round of the RSSC2, we encountered this message "too many physics objects", along with lots of lag when the message was displayed.

I have searched, nothing came up, anyone got any ideas why this happened, and how to avoid it in the future?

Cheers

Dan,
To add some further info, no layout was used, the track was aston historic, and we where having a full grid of 32 racers. I don't think it happened during the race though. Only in the qual (correct me if i'm wrong Dan).
Yup, that is correct.
Scawen mentioned something about this a while back, I think it's due to the increase in the number of players to 32. LFS is limited in how many physcis calculations it will do per frame, so sometimes when there is a lot of action it may not do physics for some objects. It doesn't affect the performance of the cars, but more other objects like road-side cones etc.. I don't think there is anything anyone can do about it except Scawen.
Maybe filtering everyone joining for qualification would help?, so not everyone is on track and leaving the pits at the same time?

@Darktimes, can I just say, your LFSPoints program is a HUGE help, would have made my life a lot easier if I had found it before last night , many thanks for it.
Came across this error tonight, 3 cars going over a single ramp or 3 ramps at the same time is ok, but 4 cars causes the error, usually the 4th car sinks into the ramp. And thats with only 5 on the server so it wasnt under load at the time.
Quote from [The.O.C] LaughingGravy :Came across this error tonight, 3 cars going over a single ramp or 3 ramps at the same time is ok, but 4 cars causes the error, usually the 4th car sinks into the ramp. And thats with only 5 on the server so it wasnt under load at the time.

Well a car has a lot of moving physics objects. Also every individual ramp component has it's own physics too I guess. So 4 cars going over a ramp does need a lot of physics calculations. The total amount cars/objects doesn't matter that much because LFS only calculates physics only for the nearest cars. Anyway even if a car looks like going through a ramp from your point of view the player still sees his own car going over the ramp and position packets will sync the cars later. It's only a visual thing mostly, except when you are very near to each other where a missed physics calc may have some nasty side effects.

Too many physics objects?
(7 posts, started )
FGED GREDG RDFGDR GSFDG