Rick Posted September 3, 2012 Share Posted September 3, 2012 TVec3 rick = EntityPosition(camera); cout << "camera pos " << rick.X << "," << rick.Y << "," << rick.Z << endl; In debug mode I get valid numbers. In release mode I'm seeing 1.#QNAN. Any ideas why that would be happening? Quote Link to comment Share on other sites More sharing options...
Josh Posted September 3, 2012 Share Posted September 3, 2012 Did you set the entity scale to zero somehow? Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Rick Posted September 3, 2012 Author Share Posted September 3, 2012 The only ScaleEntity() command in the entire project is on the weapon model in first person. The very first frame the values are correct, then after that is when I get the 1.#QNAN so that's interesting. Quote Link to comment Share on other sites More sharing options...
Rick Posted September 3, 2012 Author Share Posted September 3, 2012 OK now I'm not getting it. hmmm. Will keep checking. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.