Simple-Station / Einstein-Engines

Nobody will ever notice I changed the repository description, right?
GNU Affero General Public License v3.0
54 stars 147 forks source link

Laying down while standing close to a table forces you to lay down on/under it #1121

Open Mnemotechnician opened 3 weeks ago

Mnemotechnician commented 3 weeks ago

Description

Title, likely works ignoring walls and other solid obstacles. Introduced by #1057.

Reproduction

  1. Stand next to a table/washing machine/other machine
  2. Lay down or get carried
  3. You're on the table
Aidenkrz commented 3 weeks ago

_lookup.GetEntitiesInRange(uid, 0.3f) This needs to be lowered then, or add an occlusion check i suppose

Mnemotechnician commented 3 weeks ago

No, you should actually check the contacts and calculate the closest distance between two fixtures instead of doing this bandaid fix