Closed YYBartT closed 1 week ago
The function physics_raycast appears to check only the first edge of a chain shape. When the ray intersects with the chain's first edge, a hitpoint is included in the returned array. For any other segment of the chain no hitpoint is returned.
physics_raycast
PhysicsRaycast_chain_shapes.zip
All edges of a chain shape fixture are checked for intersection with the ray
Always
2024.400 (Betas)
Windows
Fixed in 2024.6
Description
The function
physics_raycast
appears to check only the first edge of a chain shape. When the ray intersects with the chain's first edge, a hitpoint is included in the returned array. For any other segment of the chain no hitpoint is returned.PhysicsRaycast_chain_shapes.zip
Expected Change
All edges of a chain shape fixture are checked for intersection with the ray
Steps To Reproduce
How reliably can you recreate this issue using your steps above?
Always
Which version of GameMaker are you reporting this issue for?
2024.400 (Betas)
Which platform(s) are you seeing the problem on?
Windows
Contact Us Package Attached?
Sample Project Added?