Search found 7 matches
- Tue Sep 27, 2011 8:57 pm
- Forum: Questions and Help
- Topic: Strange error
- Replies: 8
- Views: 5068
Re: Strange error
Ok, it appears I was missing using System.Threading; i must have deleted it by mistake.
- Tue Sep 27, 2011 8:21 pm
- Forum: Questions and Help
- Topic: Strange error
- Replies: 8
- Views: 5068
Re: Strange error
Your Space variable is lowercase; change the Space.ThreadManager lines to space.ThreadManager :) aaah thanks. Now the last bit is space.ThreadManager.AddThread(delegate { Thread .CurrentThread.SetProcessorAffinity(new[] { 1 }); }, null); The name 'Thread' does not exist in the current context I've ...
- Tue Sep 27, 2011 7:51 pm
- Forum: Questions and Help
- Topic: Strange error
- Replies: 8
- Views: 5068
Re: Strange error
Error 23 An object reference is required for the non-static field, method, or property 'BEPUphysics.Space.ThreadManager.get' This implies that the scope does not have a reference to a Space instance in a variable named "Space," so it instead tries to interpret it as a class name. Space is...
- Tue Sep 27, 2011 6:54 pm
- Forum: Questions and Help
- Topic: Strange error
- Replies: 8
- Views: 5068
Re: Strange error
I'm having trouble deploying to Xbox with the latest release. I get an error with these lines Space.ThreadManager.AddThread(delegate { Thread.CurrentThread.SetProcessorAffinity(new[] { 1 }); }, null); Space.ThreadManager.AddThread(delegate { Thread.CurrentThread.SetProcessorAffinity(new[] { 3 }); },...
- Tue Sep 27, 2011 12:59 pm
- Forum: Questions and Help
- Topic: Strange error
- Replies: 8
- Views: 5068
Re: Strange error
I sorted it out, it was my code for the xbox thumbsticks causing the kerfuffle.
- Tue Sep 27, 2011 12:05 am
- Forum: Questions and Help
- Topic: Strange error
- Replies: 8
- Views: 5068
Strange error
was messing around with my code, and trying to create an Xbox deployable version, I don't think made any changes from the working version, but when I try to run it now I get an error with Bepu. System.ArithmeticException was unhandled Message=Function does not accept floating point Not-a-Number valu...
- Thu Sep 22, 2011 3:02 pm
- Forum: Questions and Help
- Topic: Drop weapon
- Replies: 1
- Views: 2594
Drop weapon
I've been using this code for my characters' weapons. using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Content; using SynapseGaming.LightingSystem.Core; using SynapseGaming.LightingSystem.Rendering; using SgMoti...