Upcoming Optimization to Collision Detection System - Beta Test on Mac Clients soon

I would love to test this is in one of my WIP games. Here’s the id: 5992762116

I want to test on my game!
I have used touched event or raycast hitbox module for melee weapon’s attack hitboxes!
https://www.roblox.com/games/6016581506/Is-It-A-Monster-Test-Server?refPageId=8ec68819-9fb5-47b8-a812-a9dd8dadeaad
https://www.roblox.com/games/5863461173/Is-It-a-monster?refPageId=8ec68819-9fb5-47b8-a812-a9dd8dadeaad

5863461173
6016581506 - TestServer(I’ll make it public after a few days…!)

With wondering, see this video: My test video

I’ve collected PlaceIDs from the first 41 posts, upto and including the one I quoted here.

The full PlaceID list that will have this enabled in the first batch can be seen here:
5757753400
5976424331
5879401237
663027247
5985908443
5618610587
394206297
4577216961
4636955314
5993627093
3152852093
5163847247
5717071250
4071570
4997847806
2722997517
4272052925
1144933879
1079644652
242876658
617834035
4666288269
4410049285
5814751791
5093622192
3764135608
5911543773
5039627998

If your placeID was not included, I could not verify that the requesting account had elevated permissions in the group that owned the place requested. There were two or three requests that fit that criteria.

I will reply to this post once this is enabled.

I will personally be monitoring and playtesting when this flag is enabled on your games.

3 Likes

Should honestly be a priority - the fact the official advice, or what im told by roblox engineers, is to not use .Touched and under no circumstances .TouchEnded is mad; This is the built in hit detection method which has gone without any attention for years.

Is there any reason engineers recommend not to use it? I’ve found .Touched to be very easy since it’s automatically sending info from client to server, without having to use a proxy like a remoteevent if you were to try making a hitbox out of raycasts.

Not sure what engineers are telling you to not use .Touched and .TouchEnded. The biggest thing its missing is being able to specify whether you only care about local simulation detecting touches, and not remote simulation so that the lag doesn’t desynchronize the touching.

2 Likes

These places have now had this feature enabled!

2 Likes

Just one more question before it gets enabled on my place, would it still be effective if all the welded parts don’t have collisions enabled? Asking this because a lot of my trains have large part counts and lag a bit when moving

Yes, CanCollide = false parts still have a presence in Broad Phase collision detection and moving them around takes CPU time. If they are all welded together as a single “assembly” this should optimize your game.

2 Likes

Alright, thanks a lot! This will help my games and a ton of other games like this. I’ll be sure to tell others about this.

Hey, quick question: this change would be visible in studio too, right?

EDIT: No I didn’t enable this in Studio, I just realized.

I enabled this on Windows Client, OSX Client, and our backend game servers.

2 Likes

Is there any way to enable this in studio? Unless I’m misinterpreting this:

where you already did?

I’ll request for this to be enabled for the same places in Studio. Will update here once its done.

2 Likes

Studio should now be set, you will need to exit studio and reload the place.

3 Likes

Hi! If you are still taking testers, I would love to participate.

Place ID: 6025332561

Thanks for the opportunity!

In Eclipsis (617834035), we experienced TeleportService not working (clients crashed during teleport, no console output) when teleporting from the lobby place (632574862, which we didn’t submit here for beta because it’s just the lobby).

Is there a known issue with teleporting to a place with this beta enabled?

Clients were seeing this error during teleport: image

Here’s a link to the DM with the log file in it: https://devforum.roblox.com/t/collision-detection-beta-causing-crash-during-teleport/898916?u=busycityguy

2 Likes

Do you know know if the crash is happening on attempting to teleport or during the arrival (once you’re at the destination)?

1 Like

It appears to be on arrival at the beta place.

1 Like

Okay I found crashes associated with your place ID related to the beta. I’m going to turn it off for now.

1 Like