Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Collision detection with rotating crosses (or similar)

$
0
0

@Absolute_Beginner wrote:

Hi,

everywhere i read, "Don't do pixel perfect collision, because it's ineffective / time consuming" ... but, when I have an image, let's say a rotating cross, where collision should only count when the player hits one of the four rotating 'blades' of the cross and not the empty space in-between, how can this be done otherwise?

When I put bounding boxes around the four ends of the cross, how can I take rotation into account then?

Any tips, example code, or whatever?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles