Search found 41 matches

by -=Magic=-
Sat Mar 03, 2012 9:06 am
Forum: Questions and Help
Topic: Joint problem
Replies: 5
Views: 3469

Re: Joint problem

This is what I tried also.... (anyway, I'll recheck it) :( (with the exception that boxB is a compundshape (box+capsule) as you may see on the screenshots)

if I remember well, with only a revolute joint... the box B fall down due to the gravity...
by -=Magic=-
Sat Mar 03, 2012 12:05 am
Forum: Questions and Help
Topic: Joint problem
Replies: 5
Views: 3469

Joint problem

I've a problem building a joint as I need. I've a box A (W: 4, H: 1, L 6) I've a box B (W:0.2, H: 0.4, L: 0.6) I need to put the box B, right under the box A. I need to limit the rotation of box B around his Y axis only. This is the only ratation allowed, for B. (and B should follow all the rotation...
by -=Magic=-
Sat Jul 02, 2011 10:55 pm
Forum: Questions and Help
Topic: Unit Measures [and other things :)]
Replies: 10
Views: 5644

Re: Unit Measures [and other things :)]

Space.NarrowPhase.AllowMultithreading = false; Space.Solver.AllowMultithreading = false; Space.BroadPhase.AllowMultithreading = false; Fixed the problem. :) there are errors on the final position, but with a delta of 10-3. (with a threshold limit value, these errors can be removed too :) ) Here the ...
by -=Magic=-
Fri Jul 01, 2011 9:57 pm
Forum: Questions and Help
Topic: Unit Measures [and other things :)]
Replies: 10
Views: 5644

Re: Unit Measures [and other things :)]

I need determinism not for replay, but for the AI. The AI should calculate which kind of shoot is better.. but if there is undeterminism, then when the CPU perform the shoot choiced, the result isn't what expected. I'll try to disable multithreading. for dimensions, the table size is 254 x 127 cm = ...
by -=Magic=-
Fri Jul 01, 2011 9:43 pm
Forum: Suggestions
Topic: Entity Name and .ToString()
Replies: 3
Views: 21144

Re: Entity Name and .ToString()

but the Tag could be used to store other kind of infos... the Name is just for "debug" purposes. if I need to use Tag for this, and I need to use the Tag for other purposes.. then I have to complicate the whole thing, passing an object array as Tag.. so you choice still useless, beacuse To...
by -=Magic=-
Fri Jul 01, 2011 2:17 pm
Forum: Questions and Help
Topic: Unit Measures [and other things :)]
Replies: 10
Views: 5644

Re: Unit Measures [and other things :)]

I've done some experiments. Pos: position of the sphere Vel: Linear Velocity Ang: Angular Velocity FixedTimeStep = false; First Try: 1102 Update from start to end Start Impulse to Entity: MasterOfPool.Ball - Impulse: {X:250 Y:0 Z:0} - Pos: {X:-71 Y:12,86 Z:0} - Vel: {X:0 Y:0 Z:0} - Ang: {X:0 Y:0 Z:0...
by -=Magic=-
Fri Jul 01, 2011 1:19 pm
Forum: Questions and Help
Topic: Unit Measures [and other things :)]
Replies: 10
Views: 5644

Re: Unit Measures [and other things :)]

I noticed some sort of undeterministic behaviours. I'm on the table. There's only one ball. I'm just behind the ball, and I see the ball perpedicular to the opposite table cushion. I press a key, and this command execute: Vector3 direction = game.Camera.WorldMatrix.Forward; direction.Y = 0; sphere.A...
by -=Magic=-
Fri Jul 01, 2011 12:30 pm
Forum: Suggestions
Topic: Entity Name and .ToString()
Replies: 3
Views: 21144

Entity Name and .ToString()

I think that it will be usefull if we may assign a Name to an entity, and overriding the default .ToString method so that the Name sill be returned. In this way, build a log file to debug the physic should me more easy. I've added to the EntityBase class this code: public string Name { get; set; } p...
by -=Magic=-
Fri Jul 01, 2011 9:35 am
Forum: Questions and Help
Topic: Unit Measures [and other things :)]
Replies: 10
Views: 5644

Re: Unit Measures

Ok, now I solved :) (I set BouncinessBlendMethod = PropertyBlendMethod.Min, so that with TableBounciness = 0, this stop the sphere to bounce) but, now I've another poblem. when the sphere collide with the external cushion around the table, the sphere tends to stick near to it. expecially at lower sp...
by -=Magic=-
Fri Jul 01, 2011 8:34 am
Forum: Questions and Help
Topic: Unit Measures [and other things :)]
Replies: 10
Views: 5644

Unit Measures [and other things :)]

I read that Bepu is unitless, but for consistency I need a hint :) I'm developing a pool game, using real dimensions. So, I used 1 unit as 1cm. A Pool table is 254cm x 127cm, so I have a surface of 254unit x 127 unit. A ball has a diameter of 5.715cm, so I have a sphere with diameter equal to 5.715 ...
by -=Magic=-
Thu Jun 30, 2011 11:36 am
Forum: General
Topic: BepuPhysic Draw Model Error
Replies: 1
Views: 4251

BepuPhysic Draw Model Error

Inside the demos, the ModelDrawer has an error. If you use the same Model, but with different textures, the drawer display the last texture that has been set. This because the texture of the effect applied to the model is set inside the Texture properties of DisplayModel class. This should be moved ...