User Tag List

Results 1 to 10 of 10

Thread: Physics Chipmunk. Ball goes through all walls

  1. #1
    No Products Registered

    Join Date
    Feb 2007
    Location
    Sydney, Australia
    Posts
    1,654
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Physics Chipmunk. Ball goes through all walls

    Hello,
    I have been working in my major project for quite some time and I was impressed with the fantastic progress.
    One day I began to add more levels in it and suddenly when I ran the application the ball went through all the walls! I always run my application after I add some obsticle and the ball never went through the walls. I dont understand why this is happening.
    Oftopic:
    I have made an incredible amount of post and noone has replied. I really hope this post doesn't turn into one of those.

  2. #2
    No Products Registered

    Join Date
    Jun 2006
    Posts
    1,630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Physics Chipmunk. Ball goes through all walls

    I'm interested in this as well. I tried to use the example of pinball as base for my own pinball scene and the ball when going too fast went through defined walls. I changed 'time step' parameters as suggested but couldn't manage to work properly. I do believe it has something to do with the limitations of Chipmunk engine:

    Known Issues

    "Fast moving objects sometimes pass right through one another. Use smaller time steps if this is a problem."

  3. #3
    No Products Registered

    Join Date
    Feb 2007
    Location
    Sydney, Australia
    Posts
    1,654
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Physics Chipmunk. Ball goes through all walls

    My ball isn't moving fast at all.

  4. #4
    No Products Registered

    Join Date
    Jun 2006
    Posts
    1,630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Physics Chipmunk. Ball goes through all walls

    Then you should play with iterations, time step values, etc. I got good results when object wasn't moving too fast.

  5. #5
    No Products Registered

    Join Date
    Feb 2007
    Location
    Sydney, Australia
    Posts
    1,654
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Physics Chipmunk. Ball goes through all walls

    Yes but the thing I dont understand is the game ran perfectly 1 minute before the ball went throught the walls. I didn't change any settings.

  6. #6
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperiOS Export ModuleMac Export ModuleSWF Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    JasonDarby's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    4,938
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Re: Physics Chipmunk. Ball goes through all walls

    Upload an example, that way you have more chance with people helping you.

    Jason

  7. #7
    No Products Registered

    Join Date
    Feb 2007
    Location
    Sydney, Australia
    Posts
    1,654
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Physics Chipmunk. Ball goes through all walls

    It is like telling Nifflas to upload Night Game

  8. #8
    No Products Registered

    Join Date
    Feb 2008
    Posts
    209
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Physics Chipmunk. Ball goes through all walls

    Maybe could you upload an example that shows just the problem, not the entire game?
    I would be very interested to see the cause of this problem.

  9. #9
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperiOS Export ModuleMac Export ModuleSWF Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    JasonDarby's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    4,938
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Re: Physics Chipmunk. Ball goes through all walls

    Yes but... reduce the size of the file to where the problem still exists.

    If you want people to help you with your problems, then uploading a file is the best way.

    Jason

  10. #10
    No Products Registered

    Join Date
    Feb 2007
    Location
    Sydney, Australia
    Posts
    1,654
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Physics Chipmunk. Ball goes through all walls

    I was about to upload it until I found out the error. I think this can help Bruto_Memo as well.

    The error was when I create the body the position is 0,0 but when I add a circle the possitions are different.

    I made both possitions the same so now it works fine

    Also, I still need help with this (The post got lost ) http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=78953#Post78953

Similar Threads

  1. Ball / Round object physics (ball won't stop)
    By LemonyWeasel in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 30th November 2015, 10:59 PM
  2. iOS Box2D or Chipmunk Physics
    By buckeroo in forum iOS Export Module Version 2.0
    Replies: 8
    Last Post: 12th December 2012, 06:16 PM
  3. Chipmunk Physics tutorials?
    By Tuna in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 25th March 2009, 03:59 AM
  4. help witht the chipmunk physics engine
    By Oreo in forum Multimedia Fusion 2 - Technical Support
    Replies: 24
    Last Post: 20th October 2008, 09:53 PM
  5. Replies: 0
    Last Post: 24th November 2007, 02:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •