This project has moved. For the latest updates, please go here.

New on Farseer physica

Topics: Project Management Forum
Jun 17, 2013 at 3:54 AM
Hi, I am new on this engine motor and I am having some troubles with my bodies velocitys, All of them do not go more over 60, when the body reachs 60 on velocity (combining X and Y), it stipo increasing. Why this happen?
thank you
Jun 17, 2013 at 9:45 AM
Did you set the Max value property on that motor? I want to see your source code for better analyzing.
Jun 17, 2013 at 5:47 PM
spriteBatch = new SpriteBatch(GraphicsDevice);
        Fuente = Content.Load<SpriteFont>("Fuente");
        TexturaPelota = Content.Load<Texture2D>("Cosa");
        Vector2 circlePosition = new Vector2(10, 0); ;

        // Create the circle fixture
        _circleBody = BodyFactory.CreateCircle(Mundo,(TexturaPelota.Width/2), 1f, circlePosition);
        _circleBody.BodyType = BodyType.Dynamic;

        // Give it some bounce and friction
        _circleBody.Restitution = 1.0f;
        _circleBody.Friction = 0.0f;

        Vector2 groundPosition = new Vector2(_graphics.PreferredBackBufferWidth/2,_graphics.PreferredBackBufferHeight);

        // Create the ground fixture
        _groundBody = BodyFactory.CreateRectangle(Mundo, _graphics.PreferredBackBufferWidth,1, 1f, groundPosition);
        _groundBody.IsStatic = true;
        _groundBody.Restitution = 1.0f;
        _groundBody.Friction = 0.0f;