Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.

New to the forum? Say hello in this topic! Also make sure to read the rules.

GetObjectsByArea doesn't detect small objects

Did you encounter a problem, exploit, glitch or bug while playing the game or running the dedicated server software? Tell us about it here.
Forum rules
By using the forum you agree to the following rules. For this forum you also need to follow these additional rules.
Post Reply
User avatar
Ol1vver
Superfighter
Superfighter
Posts: 69
Joined: Mon Nov 19, 2018 4:55 pm
SFD Account: olv
SFD Alias: olv
Started SFD: PreAlpha 1.6.4
Gender:

GetObjectsByArea doesn't detect small objects

Post by Ol1vver » Wed Jul 08, 2020 9:51 am

When trying to use GetObjectsByArea, I noticed that it doesn't detect small objects (height/width smaller than 2 usually or 2x2), like Crate00 and similar which is really problematic.
And yes, I did try making the area bigger. It still does not detect smaller objects even though they're completely inside of the area.
0 x

User avatar
Gurt
Lead Programmer
Lead Programmer
Posts: 1884
Joined: Sun Feb 28, 2016 3:22 pm
Title: Lead programmer
Started SFD: Made it!
Location: Sweden
Gender:
Age: 34

Post by Gurt » Wed Jul 08, 2020 5:40 pm

I think Crate00 is the most common type of crate that's like 14x14 or 16x16 or something. Which objects are you trying to get that you can't get?
Also make sure to check with the documentation as getting objects from the background layer requires other input parameters.
Certain special objects can't be retrieved (like shells from guns).
0 x
Gurt

Post Reply