• Welcome to AtomicTorch Studio Forums.
 
Main Menu

Shoting

Started by Grumli, May 08, 2019, 08:19:30 AM

Grumli

1. Shooting is impossible through the open door. The door and the walls around are damaged, but not the target behind the door.
2. A single shot from a revolver, from a pistol, from a gun by a bullet sometimes causes damage to the target and to something around. How is this possible?

Lurler

Quote from: Grumli on May 08, 2019, 08:19:30 AM
1. Shooting is impossible through the open door. The door and the walls around are damaged, but not the target behind the door.
The actual passage through the door is quite narrow, so you need to make sure you are shooting straight.

Quote from: Grumli on May 08, 2019, 08:19:30 AM
2. A single shot from a revolver, from a pistol, from a gun by a bullet sometimes causes damage to the target and to something around. How is this possible?
Currently when you shoot a person the bullet has a chance to go through. But actually we decided that we don't like that, so in the upcoming A22 update it is already changed so bullets don't go through.

ai_enabled

Thank you, @Grumli!
Actually, there is also a bug with the hit detection when the order of the close objects is a bit incorrect so the hit registered on the wrong objects. I've investigated and the issue is with line segment vs rectangle collision detection ΓÇö it's detected properly but I need to implement a proper algorithm to calculate the exact collision points. (we have a custom physics/collisions library which is in the most cases great but it doesn't handle some particular cases like this one yet)

Regards!