Search found 18 matches
- Thu Mar 24, 2011 2:15 am
- Forum: Questions and Help
- Topic: Entity moving through our other entities
- Replies: 1
- Views: 2425
Entity moving through our other entities
In our ping pong game, we have a paddle, table, and ball physics entites. We are having a problem with the ball going through our paddle. Sometimes the ball hits the paddle, and sometimes the ball goes through. We have increased the chance of it hitting by making the paddle wider, but we would rathe...
- Mon Feb 21, 2011 11:53 pm
- Forum: Questions and Help
- Topic: Keep getting error when loading a model
- Replies: 1
- Views: 2226
Keep getting error when loading a model
I keep getting a "Unsupported Vertex type in mesh." When i try to load a model into a static triangle mesh group....
Have you faced this problem before???
Thank you
Have you faced this problem before???
Thank you
- Wed Feb 16, 2011 3:30 pm
- Forum: Questions and Help
- Topic: How to build BasicSetup in XNA 4
- Replies: 1
- Views: 2388
How to build BasicSetup in XNA 4
I have tried to build the basic-setup demo in XNA4, but it seems the framework is not the same. How can i get around this?
- Fri Nov 06, 2009 12:52 pm
- Forum: Questions and Help
- Topic: Entity LifeSpan
- Replies: 27
- Views: 21530
Re: Entity LifeSpan
Okay, ill check the graphics/physics matrices stuff.
And this might sound like a dumb question...but how would i make my engine synchronous.
Richard
And this might sound like a dumb question...but how would i make my engine synchronous.
Richard
- Thu Nov 05, 2009 11:33 pm
- Forum: Questions and Help
- Topic: Entity LifeSpan
- Replies: 27
- Views: 21530
Re: Entity LifeSpan
Okay, i sent you my project for the crashing problem, so you can take a look at it.
But now for some reason, my projectiles are landing on this imaginary plane above my map. What could cause that?
Thanks, Richard.
But now for some reason, my projectiles are landing on this imaginary plane above my map. What could cause that?
Thanks, Richard.
- Thu Nov 05, 2009 3:11 am
- Forum: Questions and Help
- Topic: Entity LifeSpan
- Replies: 27
- Views: 21530
Re: Entity LifeSpan
Sure ill send it to you if that would make it easier. How do you want me to send it?
- Wed Nov 04, 2009 11:43 pm
- Forum: Questions and Help
- Topic: Entity LifeSpan
- Replies: 27
- Views: 21530
Re: Entity LifeSpan
Ok here is the error: System.NullReferenceException was unhandled Message="Object reference not set to an instance of an object." Source="BEPUphysics" StackTrace: at BEPUphysics.MotionStateManager.flushWriteBuffer() at BEPUphysics.Space.updateWithInternalTimeSteps(Single timeSinc...
- Wed Nov 04, 2009 4:06 am
- Forum: Questions and Help
- Topic: Entity LifeSpan
- Replies: 27
- Views: 21530
Re: Entity LifeSpan
Hey bro, i just started having the same crashing error again. But this time it is happening when i change the linear velocity of a box that is moving along my map.
- Sat Oct 31, 2009 8:11 pm
- Forum: Questions and Help
- Topic: Entity LifeSpan
- Replies: 27
- Views: 21530
Re: Entity LifeSpan
Thanks bro! That totally fixed it.
- Sat Oct 31, 2009 5:39 pm
- Forum: Questions and Help
- Topic: Entity LifeSpan
- Replies: 27
- Views: 21530
Re: Entity LifeSpan
Ok, running into runtime problems now with the space update.... Basically what is happening is that my tower is in the center of the world and it shoots at boxes that come near it. The problem is that every time the tower shoots a few balls, the game crashes... Kinda like the engine cant handle the ...
- Sat Oct 31, 2009 4:18 pm
- Forum: Questions and Help
- Topic: Entity LifeSpan
- Replies: 27
- Views: 21530
Re: Entity LifeSpan
Figured it out, you were right, it was some position problems.
Thanks
Thanks
- Fri Oct 30, 2009 2:12 pm
- Forum: Questions and Help
- Topic: Entity LifeSpan
- Replies: 27
- Views: 21530
Re: Entity LifeSpan
Well it does shoot it, but no matter what i change the "target" vector to, it always shoots in the same direction.
- Thu Oct 29, 2009 9:58 pm
- Forum: Questions and Help
- Topic: Entity LifeSpan
- Replies: 27
- Views: 21530
Re: Entity LifeSpan
Figured it out, i wasnt computing my sphere age correctly, apparently the TimeSpan class cannot be null... didnt know that.
anyways, i did look at the tank shooting method you were talking about, but for some reason the vector i point it at is not where the sphere goes...
anyways, i did look at the tank shooting method you were talking about, but for some reason the vector i point it at is not where the sphere goes...
- Thu Oct 29, 2009 1:33 pm
- Forum: Questions and Help
- Topic: Entity LifeSpan
- Replies: 27
- Views: 21530
Re: Entity LifeSpan
I am also removing the EntityModel class. So i also call Components.remove(em);
So for each sphere, they have a create time, and each update it checks if it should be removed. But when one of them is ready, they all get removed.
So for each sphere, they have a create time, and each update it checks if it should be removed. But when one of them is ready, they all get removed.
- Thu Oct 29, 2009 4:44 am
- Forum: Questions and Help
- Topic: Entity LifeSpan
- Replies: 27
- Views: 21530
Re: Entity LifeSpan
Yes i'm trying to remove the entity model, space entity and the game component. They are all connected to one class. And each time my tower shoots, a new object is created which has these entities in it. But when i try to remove one, they all get removed.