I don't know what I'm doing wrong, but I don't anyone else asking about this issue. I try converting my project over for xbox360 uses. this is the result when building:
Error 4 The out parameter 'result' must be assigned to before control leaves the current method D:\XNA\JigLibX 0.3.1\JigLibX\Physics\Body.cs 726 21 Xbox 360 Copy of JigLibX
I'm using the default Body.cs this error doesn't happen when using the engine for PC only when trying to convert it over to Xbox.
public void GetVelocity(ref Vector3 relPos, out Vector3 result)
result.X = transformRate.Velocity.X + transformRate.AngularVelocity.Y * relPos.Z - transformRate.AngularVelocity.Z * relPos.Y;
result.Y = transformRate.Velocity.Y + transformRate.AngularVelocity.Z * relPos.X - transformRate.AngularVelocity.X * relPos.Z;
result.Z = transformRate.Velocity.Z + transformRate.AngularVelocity.X * relPos.Y - transformRate.AngularVelocity.Y * relPos.X;
The above is the section the error is refering to, I don't know much about the 'out' parameter and I can hardly find anything for it on the forum. It's really bothering me as I just can't figure it out, everyone else seems to bypass this with nps at all, where is this coming from?
Hope anyone can help,