User Tag List

Results 1 to 2 of 2

Thread: Help with Angle Setting for Compass

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    Jaklar's Avatar
    Join Date
    Oct 2012
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with Angle Setting for Compass

    I'm creating an app that needs to have a compass arrow point in the direction of a numerical value that is pulled from a weather service. The numerical value (wind direction) has been parsed from weather data and displays as a simple number, i.e., 346, 25, 86...each representing a point on a compass.

    Problem is, if I set my Active (the arrow) to Set Angle, pulling the number from the string, I never get a consistent result. 80 degrees will be pointing at something like 190 or so...anyway, it's off and I need to get it accurate. Seems like it should be a simple thing. I'm obviously missing something but I'm not sure what.

    Any help would be appreciated.

    Thanks!

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    Jaklar's Avatar
    Join Date
    Oct 2012
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Figured it out.

    Set Angle works (in terms of compass point movement) via negative numbers. So I'm grabbing the wind direction from the net, sticking that in a string, and then using a counter to convert the string with -1*value("counter") That creates a negative version of the original number and properly points my arrow in the correct direction.

Similar Threads

  1. Help with setting angle to weapon!
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 11th February 2011, 08:39 AM
  2. Setting angle to face another object
    By ELCGames in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 27th December 2010, 02:16 PM
  3. Setting the angle to point at the mouse
    By MediYama in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 7th May 2008, 10:11 AM
  4. Setting angle for a vector movement
    By Brandon in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 8th April 2007, 11:00 PM
  5. Setting angle of LPRO?
    By vortex2 in forum Extension Developers Lobby
    Replies: 3
    Last Post: 18th October 2006, 12:39 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
  •