General Category > General Anim8or Forum

WEEHEEEE oh, oh wait its dead, I thought it was dancing (CRE8OR NOTICE)

<< < (37/58) > >>

cre8orexpert:
Hey dude, it's great to see your engine progressing  ;D. I will start to help you again soon, not so soon, right now i'm studying tcp/udp to able to build multiplayer games (including an online card game, that will certainly be my first completed game, i hope :P). So give your best and don't forget to rest! :D.

Off-topic: I was a bit worried about you, but it looks like both your personality and thinking is intact  ;).

cooldude234:
lol, why would you say that, I'm not the one that went missing of the face of the earth :P

Thanos:
RTI V3.
I changed the equations. This solves a lot of bugs, and also gives a simpler code.
If it still makes a bug, give me your input and I'll try to reproduce it.


EDIT 27/2/2013: Another bug. DOH
Removed attachment, look for v4.

cre8orexpert:
Looking at the code and equations, it's well written and should work now. In case this doesn't work, you should give a look at how you're constructing the ray ie: converting mouse (window) coords to 3d. Mixing degrees and radians can also lead to errors and wrong output.

PS: I didn't test your code Thanos, i've just formatted my machine and my super 128k dial-down disconnection makes me unable to download a compiler  ;D.

cooldude234:
Hey your back cre8oristhe (I'm still going to call you that :D )

Anyways, I sent you my code through PM thanos, also I noticed an error in my code, fixed it and it didn't change anything  ??? (I had    y5 = (Vert2.y+Vert2.y)/2; intead of y5 = (Vert2.y+Vert3.y)/2;)

And I still don't really understand any of this code, like what are the triangles midways?
What is half of this code even doing, I have no clue?

Also I would like to add, that the collision also doesn't work on 90 degree angles as well, it's just less noticeable.
What happens is around the edges of where 2 lines on the triangle meet (at the vertices) you can just go straight through them, but at the center of the triangle you can't.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version