User Tag List

Results 1 to 3 of 3

Thread: Direction

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Lukiester's Avatar
    Join Date
    Feb 2014
    Location
    Melbourne
    Posts
    363
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Wink Direction

    Hello, i was wondering if their was a condition that means when objects direction is facing object2
    thanks lucas

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Posts
    1,300
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Nope.
    You'd have to find the direction from ObjectA to ObjectB, and then compare that to ObjectA's direction. Depending on how your game works, it's unlikely that ObjectA would be facing *exactly* towards ObjectB, so you'd need to check if the difference is less than X degrees.
    Or if you're just talking about a platformer or something, and you only care about whether ObjectA is facing left or right, and whether ObjectB is to its left or right, that's obviously much simpler.
    As always, a vague question gets a vague answer.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fanotherpg's Avatar
    Join Date
    Jul 2006
    Location
    High Wycombe, Buckinghamshire, UK
    Posts
    3,665
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There's always Direction Calculator extension and Looking in direction of condition, but counting it manually as MM suggested is much better solution.

Similar Threads

  1. Get Direction (Please Help)
    By Captain_Harris in forum iOS Specific Example Files
    Replies: 0
    Last Post: 13th May 2013, 02:30 PM
  2. Direction question
    By Yikes in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 20th August 2011, 08:32 PM
  3. Set Direction on HWA doe's nothing
    By dragonguy in forum Hardware Accelerated Runtime
    Replies: 4
    Last Post: 20th October 2009, 12:25 AM
  4. Direction
    By Brovic in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 11th June 2009, 03:06 PM
  5. Direction example
    By Ravenius in forum File Archive
    Replies: 0
    Last Post: 14th March 2008, 07:53 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
  •