User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16

Thread: Face towards the mouse

  1. #1
    No Products Registered

    Join Date
    Dec 2015
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Face towards the mouse

    Im having trouble with trying to get my character to face towards mouse.

    Im using physics platformer movement.

    You know, just like when mouse is on left side of character, character faces left and right the same.

    I can make it work in mmf2 but seems to be impossible in Fusion 2.5.

    Would appreciate your help so I dont have to make my object static and consider other movement options.

  2. #2
    Clicker Fusion 2.5Android Export ModuleSWF Export Module
    Ziplock's Avatar
    Join Date
    Oct 2013
    Posts
    448
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Create an object, set it to invisible, always set it to the cursor, and have your character always look in the direction of the object.

  3. #3
    No Products Registered

    Join Date
    Jan 2016
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I need to do this, and that works, except when I move my character with arrow keys he overrides this and faces the direction he is moving, see my thread, can't place a url yet, new to forum
    thanks in advance!

  4. #4
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Patrice's Avatar
    Join Date
    Sep 2010
    Posts
    565
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Once and for all !
    Everythings possible with MMF2 is possible with CTF2.5 and easier.
    ptftowardsmouse.mfa

  5. #5
    No Products Registered

    Join Date
    Jan 2016
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks sooooo much dude it works perfectly!!!

  6. #6
    No Products Registered

    Join Date
    Dec 2015
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Patrice View Post
    Once and for all !
    Everythings possible with MMF2 is possible with CTF2.5 and easier.
    ptftowardsmouse.mfa
    Yeah, I knew I could make my active to a collision mask and set my character to static, but I just wanted to know if theres an alternative solution.

    Thanks anyways.

  7. #7
    No Products Registered

    Join Date
    Dec 2015
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Before making a new thread, has any one managed to make launched object adapt to physics?

    EDIT: I dont know if im having a bug or what but my launched objects are not even reacting to collisions.

  8. #8
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Patrice's Avatar
    Join Date
    Sep 2010
    Posts
    565
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Physics reactions are working so well in CTF2.5
    bullet.mfa

  9. #9
    No Products Registered

    Join Date
    Dec 2015
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Patrice, I cant get it to work, been messing with physics engine properties, made my launched object "bullet" and have "extended collisions" and etc. My launched object is not even responding to collisions.

    Looks like my project is broken or sumthin.

  10. #10
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Patrice's Avatar
    Join Date
    Sep 2010
    Posts
    565
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    I can't help you without looking your mfa... If you decide to use physics please read documentation about properties and accept to spending time on it.
    It's a complete another point of view of interactions between objects.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 10th March 2015, 05:47 PM
  2. How to set active to face direction of touch
    By jay73 in forum Android Export Module 2.5
    Replies: 3
    Last Post: 2nd August 2014, 09:42 PM
  3. How to get an enemy to face its direction of movement.
    By Narfafian in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 20th July 2012, 01:27 AM
  4. Rotate object to face another...?
    By TheWonkits in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 18th July 2009, 01:22 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
  •