[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]

/agdg/ - Amateur Game Development General

AGDG - The Board

Catalog

See 8chan's new software in development (discuss) (help out)
Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Oekaki
Show oekaki applet
(replaces files and can be used instead)
Options
dicesidesmodifier
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4, swf, pdf
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 5 per post.


Welcome to AGDG, have you ever made a game?
See also: /ideaguy/ | /vm/

File: 1446439979658.gif (1.8 MB, 814x588, 407:294, 12073039_10204140430785534….gif)

71d1e0 No.23516

>tfw can't do decent rectangle to rectangle collision

gif related my try.

Does any of you has any resources to learn such a thing?

247843 No.23520

There are books you can read for this. Real Time Collision Detection by Christer Ericson is fantastic, for example.

http://www.gamedev.net/page/resources/_/technical/game-programming/2d-rotated-rectangle-collision-r2604

If you don't understand the math in that link, drop your project for a while, and do some real math reading. If you don't know basic linear algebra, cross products, dot products, how basic matrix multiplication works, and how to project vertices onto a line/plane, find distance between vertex and a line/plane, you will need to before long.

Christer Ericson's aforementioned book goes in assuming that you know very little math, which is great. It's pretty easy to find and pirate.




[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]