User Tag List

Results 1 to 5 of 5

Thread: Physics question! Making AI that uses Physics Platformer/Physics Static movement

  1. #1
    Clicker Fusion 2.5Android Export ModuleSWF Export Module

    Join Date
    Jan 2007
    Posts
    104
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Physics question! Making AI that uses Physics Platformer/Physics Static movement

    I am attempting to make a simple AI enemy for a brawler that I am working on. It's just a test to see if it's possible but so far it's not looking great. I can't figure out how to move an object left/right without it toppling over. As far as I can tell the values that I need to mess with is either Force, Impulse, Linear Velocity and/or Angular Velocity (this is taking into account what angle degree to apply the force to) I've tried all of these already. What am I doing wrong?

    Also is it possible to take the static movement physics object and make it a custom physics platformer object?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,310
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    To make the physics static movement move like that without falling over, you need to set the object's properties so that the "fixed angle" property is enabled. Then it shouldn't be able to fall over.

  3. #3
    Clicker Fusion 2.5Android Export ModuleSWF Export Module

    Join Date
    Jan 2007
    Posts
    104
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is it possible to change "fixed angle" at run time? That way I can have more dynamic knockback physics for enemies.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,310
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    I think you could change it at runtime by using multiple movements, and simply changing movements to the one with the right settings when you need to change settings.

  5. #5
    Clicker Fusion 2.5Android Export ModuleSWF Export Module

    Join Date
    Jan 2007
    Posts
    104
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You sir are a genius. It's been awhile since I've MMF'd so all the little tricks and work arounds that I used to know have become confusing and out of my reach once again.

Similar Threads

  1. Possible Static Physics Movement Directional BUG?
    By jasonorme in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 16th December 2013, 02:07 PM
  2. Using physics objects with non physics movements
    By Redsquirrel in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 11th December 2013, 01:51 PM
  3. Where are the MMF 2.5 platformer physics variables?
    By Krim in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 11th December 2013, 01:47 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, 08:56 AM
  5. Physics Bug - Can't rotate static objects
    By Dynamite in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 21st January 2009, 04:12 AM

Posting Permissions

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