User Tag List

Results 1 to 5 of 5

Thread: Simple physics platform friction?

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleMac Export Module

    Join Date
    Sep 2006
    Location
    UK
    Posts
    827
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Simple physics platform friction?

    I have a static physics object (a box/platform) which I move using X - X + 2 and I have another physics object which falls on it, I use "collides with object --> stop" which works, but once the object "lands" and stops on the moving platform the moving platform object just "slips" from under it?? changing the friction on both ojects has no effect whatsover?

    How can I make it so when the physics box lands on the moving platform it moves with it?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,544
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What formula are you using to move the platform? Can this be temporarily used for the falling object so it it can just move along with the platform?

    Marv
    ​449 MMF2 & CTF 2.5 Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  3. #3
    No Products Registered

    Join Date
    Dec 2016
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i think maybe setting the position of the phsics platform directly like that makes it so it's not actually making a physics movement, so friction and overlap are not calculated via physics engine. if you move the platform using physics instead, i bet it will work. kinematic body with constant velocity will probably do the trick (if it is box2d. not sure what to use in CTF)


    Sent from my iPhone using Tapatalk

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleMac Export Module

    Join Date
    Sep 2006
    Location
    UK
    Posts
    827
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mightyenigma View Post
    i think maybe setting the position of the phsics platform directly like that makes it so it's not actually making a physics movement, so friction and overlap are not calculated via physics engine. if you move the platform using physics instead, i bet it will work. kinematic body with constant velocity will probably do the trick (if it is box2d. not sure what to use in CTF)


    Sent from my iPhone using Tapatalk
    Possibly so, im using fusion physics for cross platofrm compatibility, how can I make it so a static physics object can only move on 1 axis?

  5. #5
    No Products Registered

    Join Date
    Dec 2016
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Gibbon View Post
    Possibly so, im using fusion physics for cross platofrm compatibility, how can I make it so a static physics object can only move on 1 axis?
    In box2d there are 3 options: dynamic (affected by gravity, can be pushed and bumped by other objects, etc),
    Kinematic (only moves itself), and static (never moves via physics).

    I think if CTF has something equivalent to Kinematic, that would do the trick and you could just set an X speed for it, then stop or reverse speed when it reaches the end of the range you want it to go.

    Sorry I've not gotten into CTF enough yet to be more help.


    Sent from my iPhone using Tapatalk

Similar Threads

  1. Replies: 0
    Last Post: 7th November 2015, 12:53 PM
  2. Replies: 3
    Last Post: 4th October 2015, 11:24 AM
  3. Replies: 2
    Last Post: 5th January 2015, 11:13 PM
  4. Possible to make some simple object fall physics without physics engine?
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 3rd March 2012, 09:56 AM
  5. Trying to Create Simple Platform Game Physics
    By LPViewer in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 18th June 2011, 05:50 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
  •