简体   繁体   English

Farseer物理引擎-无论施加何种脉冲,身体都不会超过一定速度

[英]Farseer Physics Engine - Body won't go past certain speed no matter the impulse applied

Hello I'm relatively new to farseer engine, which i'm currently trying to integrate with my own. 您好,我是Farseer引擎的新手,目前正在尝试与自己的引擎集成。 I decided to test a few things, saw the samples, but there's is definitely something wrong about what i'm doing, even though I can't see what is wrong. 我决定测试一些东西,看了样本,但是即使我看不出有什么问题,我做的事情也肯定有问题。

I just added a Body to the World , and called ApplyLinearImpulse(new Vector2(200f,0)) 我刚刚向World添加了一个Body ,并命名为ApplyLinearImpulse(new Vector2(200f,0))

Then I tried higher numbers, but the speed remained the same. 然后我尝试使用更高的数字,但是速度保持不变。 Is there a limit for that ? 有没有限制? What is happening ? 怎么了 ?

I'll give more details if needed, but I'm guessing it's something very noobish I missed. 如果需要的话,我会提供更多详细信息,但我想我错过了这件事。

Thanks in advance ! 提前致谢 !

Your value seems way to big for Farseer. 对于Farseer来说,您的价值似乎很重要。 Are you using ConvertUnits in your code? 您在代码中使用ConvertUnits吗? Look at this blog . 这个博客

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM