Search found 20 matches
- Mon Feb 06, 2012 12:41 am
- Forum: Questions and Help
- Topic: FIXED - SphereCharacterController falling through terrain
- Replies: 11
- Views: 7097
FIXED - Re: SphereCharacterController falling through terrai
Good news! I have discovered what was failing - it was my ComputeAltitude() method. The raycast is completely ignoring the terrain, and 99% sure this is related to something I've done in the way that the terrain is set up, or that I should use a CollisionFilter in the raycast. Will dig in and post w...
- Sun Feb 05, 2012 10:45 pm
- Forum: Questions and Help
- Topic: FIXED - SphereCharacterController falling through terrain
- Replies: 11
- Views: 7097
FIXED - Re: SphereCharacterController falling through terrai
Ah this makes sense, I see. I'm very glad my information was useful (should have mentioned that it was only happening on the flat bits of the terrain, I didn't make that connection in my head), I've turned off ImproveBoundaryBehavior on the terrain and it completely fixed that issue, thanks for the ...
- Sun Feb 05, 2012 10:21 am
- Forum: Questions and Help
- Topic: FIXED - SphereCharacterController falling through terrain
- Replies: 11
- Views: 7097
FIXED - Re: SphereCharacterController falling through terrai
I woke up this morning knowing what was going wrong (in theory at least) - floating point cracks between triangles! Here is some more code showing my theory, I'm happy to make the Repro as well, let me know if it is wanted, it might be you'll see this and go "ah.....floats!" //------------...
- Sun Feb 05, 2012 12:42 am
- Forum: Questions and Help
- Topic: FIXED - SphereCharacterController falling through terrain
- Replies: 11
- Views: 7097
FIXED - Re: SphereCharacterController falling through terrai
Hi Norbo :) Thanks for the reply, its good to know that 'initial teleporting' is acceptable. I'm happy to create a repro case with one of the BEPUphysicsDemos, absolutely. Your help is sincerely appreciated! Btw the terrain is quite large, 1024*1024, with each unit representing 1m, not sure if this ...
- Sat Feb 04, 2012 11:34 pm
- Forum: Questions and Help
- Topic: FIXED - SphereCharacterController falling through terrain
- Replies: 11
- Views: 7097
FIXED - SphereCharacterController falling through terrain
Hi all, I've had a look to see if this has already been discussed but not turned up any matches. Here is the situation. (1) I spawn in some SphereCharacterController Entities, 10m above the terrain: _characterController = new SphereCharacterController(); _characterController.Body.PositionUpdated += ...