User Tag List

Results 1 to 9 of 9

Thread: Phizix Makes my Player Bounce instead Walk

  1. #1
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Phizix Makes my Player Bounce instead Walk

    Phizix - Chipmunk Engine Extension Object Makes my Player (this is an active, I have it set to square) Bounce instead Walk, how do I fix this?

    Iv'e kept on modifying the movement and it keeps going from no movement except when in air to bouncing around like a ball to one bounce then stick to ground.

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Phizix Makes my Player Bounce instead Walk

    You need to give us more information... example files or something. Do you use elasticity?

  3. #3
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Phizix Makes my Player Bounce instead Walk

    Whats Elasticity? I left it at 0 coz I don't know what it is.

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Phizix Makes my Player Bounce instead Walk

    The higher it is, the bouncier your objects are.

    If an object with el. 0 collides with a wall with el. 1, it doesn't have any effect - I think the objects' elasticies are multiplied on collision. (0 * 1 = 0)
    Just try something like 0.5 for all objects and see.

  5. #5
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Phizix Makes my Player Bounce instead Walk

    Found Solution!

    All I had to do was change it from Square to Circle and no more hopping along like a bunny now it just slides across like a tank.

  6. #6
    Clicker Multimedia Fusion 2

    Join Date
    Jul 2006
    Location
    Near Nantes (Brittany)
    Posts
    241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Phizix Makes my Player Bounce instead Walk

    It is difficult to make an object walk with phyzics. You should try the platform example given with the phyzics object. You have to create 2 shapes for your walking object. Imagine that one shape is like wheels... Really, you should try the example.

  7. #7
    No Products Registered

    Join Date
    Jul 2006
    Location
    Umeå, Sweden
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Phizix Makes my Player Bounce instead Walk

    another solution is to use 2 shapes and set the surface velocity of the bottom one... Works like a conveyor belt...

  8. #8
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Phizix Makes my Player Bounce instead Walk

    That's what I did in the Platform Movement Demo. The top shape also has 0 friction to prevent the player from sticking to walls.

  9. #9
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)

    Re: Phizix Makes my Player Bounce instead Walk

    The Platform Movement example coming with the extension is quite interesting. Does someone know if it's possible to simulate the player swimming into/under water?

    I'm also trying to simulate buyoant (?) bodies like apples droping into water and then floating at the surface. I didn't succeed for the moment.

Similar Threads

  1. How to make player bounce back when hitting wall?
    By path in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 30th July 2013, 08:56 AM
  2. perfect walk
    By KovalPL in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 9th April 2013, 01:16 PM
  3. Phizix for Iphone (box2d and phizix)
    By iamjot in forum Extension Development
    Replies: 8
    Last Post: 6th May 2011, 08:41 AM
  4. 2D Walk Around Flash Chat
    By Code6 in forum File Archive
    Replies: 5
    Last Post: 14th March 2010, 04:02 PM
  5. 2D Walk Around Flash Chat
    By Code6 in forum Lacewing
    Replies: 3
    Last Post: 13th March 2010, 12:59 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
  •