-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|537|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
SoCoder -> Snippet Home -> Collisions and Physics
Functions that help with accurate Sprite and Object collisions and better in game physics.

Older -->


Orientation of point vs line
Is a point left or center or right of a line
Pakz
,
Monkey2
Polygon vs Polygon Collision
Is one polygon colliding with another polygon
Pakz
,
Monkey2
Point versus Polygon Collision
Check if a point is inside a polygon
Pakz
,
Monkey2
Water in 2d map
See water flow/flood in a level.
Pakz
Monkey
Pixel Perfect Collision
Helps to make pixel perfect(accurate down to a pixel) collisions using image RGB values and
melmantheman
Ruby
Cross Platform
Soft Body Physics
Simple demo of roughly how soft bodies work
Scherererer
Blitz
Windows
Box/Circle collisions
Really really simple bog standard collisions..
Jayenkai
Blitz
2D 'Shifted Grid' collision detection
collision detection demo by big10p (A.K.A. Chris Chadwick) 2004.
worchyld
Blitz
Windows
Point In Polygon
Check if point is inside of polygon
Andy_A
Blitz
MouseArea
Uses rectsoverlap for mouse/object collision detection
worchyld
Blitz
Windows
3D Collisions
3D Collisions and detecting which object collided
Scherererer
Blitz
Orbital Physics
Continuous Freefall
shroom_monk
Blitz
Windows
Simple bouncing
Make stuff bounce, what else.
magicman
Blitz

Older -->