Constrain Lags

joshuawildejoshuawilde Member Posts: 96
edited April 2012 in Working with GS (Mac)
I have an object that you can move around with your finger in my game but when i test it out there is an extreme lag on the constrain. It is running at 58-60 fps though. What should i do so it doesnt lag.

Answers

  • jckmcgrawjckmcgraw Member Posts: 647
    @joshuawilde

    What else is happening in your scene?
    What device are you testing it on?
    How many actors do you have in your scene?

    Sorry for all of the questions, but I can't be of any help until I know more.

    Jack McGraw
  • joshuawildejoshuawilde Member Posts: 96
    i am testing on my ipod touch 4g
    nothing much is really happening in the rest of the scene
    i have about 20 actors in the scene

    i know the problem is with the constrain behavior because it lags on my computer too
  • jckmcgrawjckmcgraw Member Posts: 647
    @joshuawilde

    That's odd... so you only have two constrains for the X and Y values?
  • joshuawildejoshuawilde Member Posts: 96
    yeah
  • joshuawildejoshuawilde Member Posts: 96
    i am constraining to the mouse x and y plus an offset
  • jckmcgrawjckmcgraw Member Posts: 647
    @joshuawilde

    I really don't know what could be the problem... :/
    You can always try restarting everything: computer, iPod, GS.
  • joshuawildejoshuawilde Member Posts: 96
    i dont think so
    i have rebooted my ipod,mac,GS multiple times already
  • jckmcgrawjckmcgraw Member Posts: 647
    @joshuawilde

    Try deleting the real attributes you made for the constraints and the rules that go along with it and trying again...
  • joshuawildejoshuawilde Member Posts: 96
    i cant, they are the self position x and self position y
  • jckmcgrawjckmcgraw Member Posts: 647
    @joshuawilde

    Sorry I have no idea
Sign In or Register to comment.