This forum is going to be locked at the end of this year and eventually going offline. If you have feedback to share you can find us in our Discord channel "MythoLogic Interactive" https://discord.gg/nECKnbT7gk

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: 1885
Joined: Sun Feb 28, 2016 3:22 pm
Title: Lead programmer
Started SFD: Made it!
Location: Sweden
Gender:
Age: 35

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