Box falling through static mesh.
Posted: Fri Apr 03, 2015 2:37 pm
I have a box that is falling through a static mesh I believe this is due to my gravity being set really high(60). If I have the gravity set lower it does not fall through the static mesh.
The character controller works fine and has proper collisions with the static mesh. Here are the boxes properties:
Any help would be appreciated!
Thanks,
-Toaster
The character controller works fine and has proper collisions with the static mesh. Here are the boxes properties:
Code: Select all
Box PhysicsBox = new Box(new BEPUutilities.Vector3(2, 10, 2), .5f, .5f, .5f, 5);
PhysicsBox.CollisionInformation.Shape.CollisionMargin = .1f;
PhysicsBox.PositionUpdateMode = PositionUpdateMode.Continuous;
Thanks,
-Toaster