Search found 45 matches
- Sun Sep 06, 2009 2:53 pm
- Forum: Questions and Help
- Topic: Ray Cast Terrain
- Replies: 1
- Views: 3678
Ray Cast Terrain
Hi again. How are you? i think i've got a bug or rounding issue on terrain. heres the gist of my code. public static RayResult terrainray(Ray r, RayCastableContainerWithoutMargins terrain) { RayResult result = RayResult.Zero; terrain.rayCast(r.Position, r.Direction, 10000, out result.hitEntity, out ...
- Mon Aug 17, 2009 7:51 pm
- Forum: Questions and Help
- Topic: Rag Doll
- Replies: 15
- Views: 17210
Re: Rag Doll
This is how it looks now by the way. I still can't calculate the bone lengths though.
- Sat Aug 15, 2009 6:42 pm
- Forum: Questions and Help
- Topic: Rag Doll
- Replies: 15
- Views: 17210
Re: Rag Doll
This is good fun actually.. but.. I cranked up the terrain margin to 1.0f but it just goes weird. I imagine some feature where the terrain can be considered solid underneath: infinately or to a fixed height Y value, while the top remains unchanged. Also, for getting better small objects interacting ...
- Sat Aug 15, 2009 2:35 am
- Forum: Questions and Help
- Topic: Rag Doll
- Replies: 15
- Views: 17210
Re: Rag Doll
Thanks for helping me with this
- Sat Aug 15, 2009 1:44 am
- Forum: Questions and Help
- Topic: Rag Doll
- Replies: 15
- Views: 17210
Re: Rag Doll
Insane as in good.
Forget the bone length it's doing my head in trying to work it out. I'll do boxes in blender. You know what.. is there a thickness setting on a triangle mesh and terrain please?
Forget the bone length it's doing my head in trying to work it out. I'll do boxes in blender. You know what.. is there a thickness setting on a triangle mesh and terrain please?
- Sat Aug 15, 2009 12:51 am
- Forum: Questions and Help
- Topic: Rag Doll
- Replies: 15
- Views: 17210
Re: Rag Doll
I'm now thinking that getting the bone lengths is Advanced so I give up and decide to use objects defined in blender instead. I guess i'm thinking of how constraints in blender relate to rags. They can't be imported easily but it would be nice to define them in Blender to animate the model. Are you ...
- Fri Aug 14, 2009 11:46 pm
- Forum: Questions and Help
- Topic: Rag Doll
- Replies: 15
- Views: 17210
Re: Rag Doll
Thanks for the info. It took a while but I got it to work. lesson learned: scale matrices cause work.
As you see I am still unable to calculate the bone lengths. I'll keep trying. The framerate of this stuff is insane by the way.
As you see I am still unable to calculate the bone lengths. I'll keep trying. The framerate of this stuff is insane by the way.
- Fri Aug 14, 2009 7:40 pm
- Forum: Questions and Help
- Topic: Rag Doll
- Replies: 15
- Views: 17210
Re: Rag Doll
Also, if I create a new cylinder, is there a way to
1>position it with a rotating transating world matrix,
2>get the end points?
1>position it with a rotating transating world matrix,
2>get the end points?
- Fri Aug 14, 2009 6:53 pm
- Forum: Questions and Help
- Topic: Rag Doll
- Replies: 15
- Views: 17210
Rag Doll
Hi. I'm implementing rag doll physics in XNA using BallSocketJoint class, and Skinned Model Sample from Microsoft. I created Cylinders from my Bones and hey presto. I also used collision filter to allow the cylinders to occupy the same space. Does anyone know how to use constraints in BEPU to make j...
- Fri Jul 24, 2009 12:46 am
- Forum: Questions and Help
- Topic: XBOX
- Replies: 7
- Views: 8908
Re: XBOX
that kicks ass by the way thanks. am i able now to free up the draw thread from doing physics by commenting the line here? //g.space.threadManager.add(delegate(object information) { Thread.CurrentThread.SetProcessorAffinity(new int[] { 1 }); }, null); space.threadManager.add(delegate(object informat...
- Fri Jul 24, 2009 12:02 am
- Forum: Questions and Help
- Topic: XBOX
- Replies: 7
- Views: 8908
Re: XBOX
It's incredible how long it takes to set effect parameters. I can easily get it down to 4fps still - if i jostle 30 random shapes with my man - but its mostly 60fps :D One last thing though, how do i check if multithread is enabled please? I just randomly did this: g.broadphase = new BEPUphysics.Bro...
- Thu Jul 23, 2009 9:29 pm
- Forum: Questions and Help
- Topic: XBOX
- Replies: 7
- Views: 8908
Re: XBOX
Hi Norbo. Thanks for replying again. You know. it might not actually be slow. I mean it is dropping to 2fps (15 boxes, 5 cylinders, 1 terrain, 4 simpleton bad guys) but the numbers show 4/1 CPU is used by my draw relative to physics (at 30fps) and when i start mixing it up with the gun it looks more...
- Thu Jul 23, 2009 7:35 pm
- Forum: Questions and Help
- Topic: XBOX
- Replies: 7
- Views: 8908
XBOX
I'm still finding it hard to get smooth play on the XBOX. Any tips?
- Wed Jul 22, 2009 10:22 pm
- Forum: Questions and Help
- Topic: an error
- Replies: 3
- Views: 5683
Re: an error
i checked it i didn't add my entity to space like a fool. please delete this.
- Wed Jul 22, 2009 10:20 pm
- Forum: Questions and Help
- Topic: an error
- Replies: 3
- Views: 5683
Re: an error
forget that. somthing weirds going on.