Search found 3 matches

by ronbunny
Sun Nov 06, 2011 5:21 am
Forum: Questions and Help
Topic: Collision Information
Replies: 1
Views: 2404

Collision Information

which function can i do to check for overlapping bounding volumes? CollisionRules.AddRule(toAdd, toAdd2, CollisionRule.NoBroadPhase); toAdd.CollisionInformation.OverlappedCollidables.Contains(toAdd2.CollisionInformation) -> can i use this ? i do not want them to have physics collision response but i...
by ronbunny
Fri Oct 14, 2011 1:57 am
Forum: Questions and Help
Topic: Problem with Collision
Replies: 3
Views: 2590

Re: Problem with Collision

Thanks it really helps a lot. However if i am using body.LinearVelocity, i should set a maxSpeed to it in order to limit the acceleration? Also i noticed that i will slightly penetrate through the collision box when i jump from a lower platform to a higher one. Is there anyway to solve this? lets sa...
by ronbunny
Thu Oct 13, 2011 12:23 pm
Forum: Questions and Help
Topic: Problem with Collision
Replies: 3
Views: 2590

Problem with Collision

lets say I have the following function with my character if (game.currentState.IsKeyDown(Keys.Left)) { body.Position -= distance; } However, my character/box collision will pass thru the kinematic blocks with continuous key press of LEFT arrow. Is there anything i can do to stop the character from p...