Search found 9 matches

by Cunick
Thu Nov 22, 2007 10:42 pm
Forum: Questions and Help
Topic: Stability problem
Replies: 15
Views: 21518

1)It is hard to say, usually when rolling cylinder collides with three or four objects or when it have excesive speed. I 'll try to post some code tomorrow. 2)No, it is so random - sometimes cube is just in the air and system freezes. And: If not, using a debug build configuration should help- I can...
by Cunick
Thu Nov 22, 2007 7:37 pm
Forum: Questions and Help
Topic: Stability problem
Replies: 15
Views: 21518

And i have found a new bug - sometimes csharp throws an exception with space.update() method - it says that it doesn't support nan(not a number parameter). The saddest part of all of it story, that i need physics engine for program, that i need for course in my university, and deadline for submittin...
by Cunick
Wed Nov 21, 2007 12:03 pm
Forum: Questions and Help
Topic: Stability problem
Replies: 15
Views: 21518

And one more question - how can i get spheres stopped rolling on static cube (they are falling on it)? They have some rolling friction or not?
by Cunick
Wed Nov 21, 2007 10:55 am
Forum: Questions and Help
Topic: Stability problem
Replies: 15
Views: 21518

I 've got a freezing problem on such sample. And in Debug mode it works brilliamt(but a bit laggy)
by Cunick
Wed Nov 21, 2007 10:54 am
Forum: Questions and Help
Topic: Stability problem
Replies: 15
Views: 21518

#region Using Statements using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Storage; usin...
by Cunick
Wed Nov 21, 2007 10:01 am
Forum: Questions and Help
Topic: Stability problem
Replies: 15
Views: 21518

And i found that if i ran pfrogram in debug mode(f5) - the everything is ok, and else (ctl-f5) freezes occurs;
by Cunick
Wed Nov 21, 2007 9:45 am
Forum: Questions and Help
Topic: Stability problem
Replies: 15
Views: 21518

Thanks for fast reply :)
1)When a set
space.addEntity(PrimitiveToolbox.constructCubePhysConvexPolyhedron(1, new Vector3(5f, 30f, 5f), 1));
i.e. y parameter 30 instead of 47 it becomes working fine. If you want i can publish full code of my program.

2)Ok, big thanks.
by Cunick
Tue Nov 20, 2007 10:04 pm
Forum: Questions and Help
Topic: Stability problem
Replies: 15
Views: 21518

Get full body position

A have a function for drawing model and using it with you library so: DrawModel(cubeModel, Matrix.CreateScale(2f) * Matrix.CreateTranslation(space.entities[0].getPosition()) * Matrix.CreateTranslation(new Vector3(0f, -0.5f, 0f)), view, projection, true); But the model is just moving, not rotating an...
by Cunick
Tue Nov 20, 2007 9:49 pm
Forum: Questions and Help
Topic: Stability problem
Replies: 15
Views: 21518

Stability problem

Hello! I 've just started using your library and i am quite impressed with it. It is simple & powerful. But i have trouble - the lot 'o cubes sample is freezing, and my simple program which physics is: space = new Space(); space.addEntity(PrimitiveToolbox.constructCubePhysConvexPolyhedron(1, new...