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
Here you can find all solved gameplay problems and bugs (beginning from Pre-Alpha 1.8.8).
- Posts: 89
- Joined: Thu Feb 07, 2019 4:36 am
The document says that area param to filter IObject does not work for farbg object. I don't think IObjectNodePath is farbg.
Code: Select all
var objects = Game.GetObjectsByArea<IObjectPathNode>(VeryLargeArea); // no results, but IObject or IPlayer works normally
- Lead Programmer
- Posts: 1884
- Joined: Sun Feb 28, 2016 3:22 pm
- Title: Lead programmer
- Started SFD: Made it!
- Location: Sweden
- Age: 31
IObjectNodePath is in the inactive physics layer so they can't be retrieved.
Fixed after v.1.3.4 where I'm adding parameters to the GetObjectsByArea() so you can determine if you want to get objects in the active physics world or the inactive (background) world. FarBg items and PathNodes will be able to be scanned then by selecting the background world.