|
Post by shadow008 on Jul 24, 2010 11:45:53 GMT -5
Well... heres a somewhat stable version of my first person camera ive been working on for quite a while now... shadow008.wikispaces.com/file/detail/First+Person+Camera.zipSome things about it though: Ledge detection is still quite problematic... Tokamak likes to freeze at certain times(usually random and in the same spot) Tokamak also likes to create triangles that arent actually there... you'll find them : ) Theres a few jumping problems. Ability to penetrate sharp corners(no idea why) You shake when walking into a wall .... Help me find the rest of them? Anyways, Theres another obj file in here called "fpsmap.obj". You can load that instead of the test map already on there. Just change this line(in main file): loadobject(model(0),"factory map.obj",pos,rot,1.5,true) to loadobject(model(0),"fpsmap.obj",pos,rot,28,true) for the one ive always used : D Please mess around with it and report errors there that i havent already mentioned Shadow008 - OUT Aug/16/2010 Updated today : D Sept/13/2010 Updated: added md2 animation support (Have fun messing around with it, but i warn you, its LAGGY) Fixed most of those problems mentioned above. Nov/14/2010 Attempts at attaching gun to camera. Only problems left are the 90 degree angle thing and camera shaking when walking into a wall. Hopefully can fix those...
|
|
|
Post by chris857 on Aug 21, 2010 19:13:37 GMT -5
Shadow, when I try to run it, I get "An exception occured" on this line:
SimulatorAdvance(PhysicsSim,(60/FPS)*.02,1) and it looks as though I have fallen into the floor (either map). The program otherwise works when I comment out that line.
|
|
|
Post by twasik4 on Sept 1, 2010 11:38:59 GMT -5
Wow, you tell me i can't show it to anyone.. and you show people >.>
|
|
|
Post by shadow008 on Sept 13, 2010 15:46:48 GMT -5
got bored... forums are slow... decided to update what i have, it looks lulz. shadow008.wikispaces.com/file/detail/First+Person+Camera.zipAnd btw triston: i dont care if u show ppl as long as its working and stable. Most of the time when i show you somthing, it has major bugs, cuz ur the FIRST to see it. Chris... your running this on a 32 bit O.S. right? I just tested it out on my 16 bit windows (previously 95) xp comp and got the same result... Otherwise, that command updates all physics and stuff as well as the collision callback and all controler callbacks. Check those if you get that error. I guess
|
|
|
Post by chris857 on Sept 17, 2010 19:17:09 GMT -5
I'm running it on a Pentium 4 with HT, designed for XP and running XP. As far as I can tell, it is 32 bit.
|
|
|
Post by comethenleave on Sept 17, 2010 21:20:21 GMT -5
Well... heres a somewhat stable version of my first person camera ive been working on for quite a while now... shadow008.wikispaces.com/file/detail/First+Person+Camera.zipSome things about it though: Ledge detection is still quite problematic... Tokamak likes to freeze at certain times(usually random and in the same spot) Tokamak also likes to create triangles that arent actually there... you'll find them : ) Theres a few jumping problems. Ability to penetrate sharp corners(no idea why) You shake when walking into a wall .... Help me find the rest of them? Anyways, Theres another obj file in here called "fpsmap.obj". You can load that instead of the test map already on there. Just change this line(in main file): loadobject(model(0),"factory map.obj",pos,rot,1.5,true) to loadobject(model(0),"fpsmap.obj",pos,rot,28,true) for the one ive always used : D Please mess around with it and report errors there that i havent already mentioned Shadow008 - OUT Aug/16/2010 Updated today : D Sept/13/2010 Updated: added md2 animation support (LAGGY) Fixed most of those problems mentioned above. I just noticed you said, "Tokamak likes to freeze at certain times(usually random and in the same spot)", if its in the same spot, then it probably isn't random, if you can find a pattern behind the freezing then you might be able to find / fix the problem ;o
|
|
|
Post by shadow008 on Sept 18, 2010 21:50:35 GMT -5
Yeah, heres the pattern: -Any rigid body bounding box that intercepts (0,*any #*,0) -Any rigid body colliding with more than one triangle that share a same vertex and have the same normal (doesnt crash but causes weird stuff to happen) -A rigid body aabb colliding with a vertex that (hope i say this right) contains 2 triangles that are perpendicular to eachother. -Any sensor that intercepts a triangle parallel to the sensor Other than that, it workes great *lol*
|
|
|
Post by chris857 on Nov 26, 2010 15:57:03 GMT -5
The program works for me now, I had a different version of the Tokamak plugin than the one you have.
|
|