Search found 43 matches

by jbosch
Wed Nov 17, 2010 5:57 pm
Forum: Questions and Help
Topic: Problems with BEPU in windows phone
Replies: 9
Views: 2564

Re: Problems with BEPU in windows phone

Hi there, I followed your recommendations,and the performance has improved a 300% Now I created a new problem, and it is that the ball does not move very reallistically. It seems like it is not being affected by the gravity or something similar. Please have a look at this video: http://www.easy-shar...
by jbosch
Sun Nov 14, 2010 12:14 pm
Forum: Questions and Help
Topic: Problems with BEPU in windows phone
Replies: 9
Views: 2564

Re: Problems with BEPU in windows phone

Is it a performance problem, or are you just trying to make the actual simulation appear to move faster? If it's the latter, you could try increasing the gravity some until it feels right (careful, if you go too high, you can introduce instability which may require more iterations or a smaller time...
by jbosch
Sun Nov 14, 2010 10:47 am
Forum: Questions and Help
Topic: Problems with BEPU in windows phone
Replies: 9
Views: 2564

Re: Problems with BEPU in windows phone

Hi, after many tests with the device, I've seen two main things: -I cant undersrand the differences in the behavior. -My pins are set to kynematic before each launch.When the ball is in a short distance, I make them dynamic, and it seems that causes problems. But if I dont do this, some pins start d...
by jbosch
Sat Nov 13, 2010 10:55 am
Forum: Suggestions
Topic: memory allocation in windows phone 7
Replies: 3
Views: 6721

Re: memory allocation in windows phone 7

am aware of the memory allocation behavior of lists and foreaches. However, it is possible to use lists and foreach loops without creating garbage so long as certain precautions are taken. The engine handles them safely and should run flat with regard to allocations. Hi, Wich are those mechanisms? ...
by jbosch
Tue Nov 09, 2010 8:13 am
Forum: Suggestions
Topic: memory allocation in windows phone 7
Replies: 3
Views: 6721

memory allocation in windows phone 7

Hi, I've been profiling my game based on BepuPhysics for windows phone, basing my tests in this article: http://player.microsoftpdc.com/Session/6a4f4c01-5984-4b33-9e27-e725791980b1 I've discovered that bepu generates a LOT (25%) of memory rellocation, and because of this the calls to the garbage col...
by jbosch
Sat Nov 06, 2010 4:10 pm
Forum: Questions and Help
Topic: Problems with BEPU in windows phone
Replies: 9
Views: 2564

Re: Problems with BEPU in windows phone

I can't find any way to speed up the game when the ball hits the pins. Any idea?

thanks
by jbosch
Sat Oct 30, 2010 6:59 am
Forum: Questions and Help
Topic: Problems with BEPU in windows phone
Replies: 9
Views: 2564

Problems with BEPU in windows phone

Hi, I published a game based on bepu physics engine in the windows phone 7 marketplace. The game runs smoothly in the emulator, but in the real device, some "strange" things happen: the ball changes its direction suddenly, the performance decreases a lot when the ball hits the first pin, even someti...
by jbosch
Tue Sep 28, 2010 6:15 pm
Forum: General
Topic: Game almost completed
Replies: 3
Views: 1809

Re: Game almost completed

Hi, Those are fragments of how I initialize the update speed. Isn't that correct? TargetElapsedTime = TimeSpan.FromTicks(333333); space = new Space(); space.simulationSettings.timeStep.timeStepDuration = 1 / 30f; space.simulationSettings.motionUpdate.gravity = GRAVITY; space.simulationSettings.motio...
by jbosch
Tue Sep 28, 2010 5:46 pm
Forum: General
Topic: Game almost completed
Replies: 3
Views: 1809

Game almost completed

Hi,

This is the "finished game", some idea about how to improve the physics?

http://www.youtube.com/watch?v=_76CCogv ... r_embedded
by jbosch
Thu Aug 26, 2010 6:24 pm
Forum: Questions and Help
Topic: Rolling sphere
Replies: 3
Views: 1127

Re: Rolling sphere

related to this, if I use "becomeKynematic", the objects loses their properties (like friction) or they keep those values to be taken in account again when "becomeDynamic" is called?
by jbosch
Thu Aug 26, 2010 5:23 pm
Forum: Questions and Help
Topic: Rolling sphere
Replies: 3
Views: 1127

Rolling sphere

Hi,

I launch a sphere but it never seems to roll. I tried to add dynamicFriction, staticFriction to the ball and also to the ground, but nothing seems to happen. What is the way to do this?
by jbosch
Wed Aug 25, 2010 4:31 pm
Forum: General
Topic: Bepu Tested in REAL WP7 device
Replies: 1
Views: 1220

Bepu Tested in REAL WP7 device

Hi, Yesterday I had the oportunity to test my game under development (powered by Bepu) in a real WP7 device. The performance was awesome (we are using a 240x400 ressolution). The only issue we found is that the Y seems to be different in emulator and real device, I'll try to explain myself: I have a...
by jbosch
Mon Aug 23, 2010 6:29 pm
Forum: Questions and Help
Topic: Dettect when a Cylinder is rolling on the floor(vertex mesh)
Replies: 3
Views: 1098

Re: Dettect when a Cylinder is rolling on the floor(vertex mesh)

That way I'll know when the bowl is lying, but not when it is rolling, isn't it? sorry because of my bad English :-P

When I mean rolling, I want to say that the cilinder falls to the ground and rolls during a short period of time
by jbosch
Mon Aug 23, 2010 10:47 am
Forum: Questions and Help
Topic: Dettect when a Cylinder is rolling on the floor(vertex mesh)
Replies: 3
Views: 1098

Dettect when a Cylinder is rolling on the floor(vertex mesh)

Hi there, I've seen there are built in events to control collision between entities. I'm developing a bowling game and I check collisions between the ball (sphere) and bowls(cylinders). I also detect collisions between bowls(cylinders) and the floor(triangles). That way I can play different sound fx...
by jbosch
Thu Aug 19, 2010 4:46 pm
Forum: General
Topic: performance on wp7
Replies: 8
Views: 3724

Re: performance on wp7

resolution independent? what do you mean? is a builtin functionality or you referre to it as something more abstract?