Well after programming in Flash for awhile I've got a nifty idea what I can do with MMF it terms of collision detection, has anybody ever programed trigonometry vector kind of collisions. I don't mean actual visual vectors like in flash but create and emulate vectors that would allow N like phsyics. I wonder if it's possible? Basicly using little objects as possible and faster coding.
I don't write with grammer I write with feeling...
I think he means he wants to use maths to do collisions instead of detectors, like have the equasion of a circle to make a circular collision barrier around an object.
The person I know managed to do in TGF collisions:
circle-circle
line-circle
line-line
And derived (region-region is just more line-line colls).
And also managed to foresee how much time would it take for objects to collide if you know their start position, velocity, acceleration, angle, angle velocity, angle acceleration.
There is a lot of math, but it isn't as hard as it is boring :---).
Ahhhh, Joe! Yesterday I had my last math exam for this year, on analytic geometry. And first thing I see when I come on TDC is you talking about the equation of a circle. Argh!
Thanks, It's not really a real question of if anyone can help me out but more of has anybody thought of this, I know this is just a help forum but I can't seem to find a place to post a topic about this.
I don't write with grammer I write with feeling...
It is possible yes, but due to MMF's slow looping speed (compared with say, C) it is probably not practical for anything but the most small scale physics engine
Best to just wait it out until vortex's physics extension comes out. Pretty much anything is possible in MMF, but a lot of things quickly become an unacceptabl overhead when you try to implement them into an actual game.
Stuckboy
JC Denton: "I know your UNATCO killphrase: Laputan Machine."
Gunther Hermann: "I - am - not - a - machi --"
JC Denton: "Sticks and stones..."
DaVince This fool just HAD to have a custom rating
Registered 04/09/2004
Points 7998
26th May, 2007 at 04:29:53 -
"due to MMF's slow looping speed (compared with say, C)"
Yes, fastlooping is what I meant. It may be called fast looping but if you tried to do this, then your game would slow down once you had a few objects in your game.
Stuckboy
JC Denton: "I know your UNATCO killphrase: Laputan Machine."
Gunther Hermann: "I - am - not - a - machi --"
JC Denton: "Sticks and stones..."
I believe Nobuyuki is working on this exact thing for his belated TK Mascot Compo entry. He's ran into a few problems according to his devlog but I guess you should check it out for yourself, here:
Once he completes his game and figures out all this stuff (thats way too complex for me to understand) I guess you can ask him how he did it.
(Edit: For some reason, TDC isn't posting the links correctly. The first one works fine, but you need to remove the space on the second one.)
Edited by the Author.
n/a
DaVince This fool just HAD to have a custom rating
Registered 04/09/2004
Points 7998
4th June, 2007 at 07:04:42 -
Links containing the words /comments and /news are broken on purpose in TDC, for security reasons. Bit of a stupid way to do it if you ask me (blocking "create-games.com/news" in a link would be better).