I’m trying to write a collision detection and i can’t make it happen.
i’m using two cubes to implemetations. And the more two vectors to control de spacial localization of the primitives.
First vector controls the world position and the second controls the size of objects. So, if i have a cube with a world position like (0,0,0) and the size with (2,4,2). I ll get following coordinates:
(-1,-2,-1) to (1,2,1). just distribute the half of the correspondent axis size to each location axis coordinates.
How can i implement easily and faster collision detection ??
I thought its very simple to you guys!!!
Please help and make me happy !!!
Greetings from Brazil …