2012-03-02 2 views
0

개체를 입력하면 속도가 느려지도록 영역을 설정하려고합니다.Farseer를 사용하여 특정 영역의 개체 느려짐

이 내가 지금까지있어 무엇 : -

 PhysicsBody = BodyFactory.CreateBody(World, new Vector2(x,y)); 
     PhysicsBody.BodyType = BodyType.Static; 

     List<Vertices> vertList = EarclipDecomposer.ConvexPartition(verts); 
     Fixtures = FixtureFactory.AttachCompoundPolygon(vertList, density, PhysicsBody); 

내가 다른 개체까지 속도가 느린 원인이 지역에 필요한 일을 설정 -이 마찰입니까?

답변

2

이 게시물에는 몇 가지 해결책이 있습니다.

http://farseerphysics.codeplex.com/discussions/240883

당신은 마찰, 드래그 coffecicients, LinearDamping의 VelocityLimietController을 사용할 수 또는 두 엔진이 두 사이를 전환 할 수 있습니다.

관련 문제