Questions tagged [direction]

The movement or orientation of UI elements in a specific direction. This is limited to the user interface. Some example uses are player movements in games or principal element rotation/animation in UI. Use [directions] for maps navigation.

The movement or orientation of UI elements in a specific direction. This is limited to the user interface.

Some example uses are

  • player movements in games
  • principal direction of element elongation
  • directed animations
  • direction of written characters (ltr, rtl, etc.)
706 questions
0
votes
1 answer

iPhone device attitude changes constantly

I noticed that if I call the startDeviceMotionUpdates method of the CMMotionManager class and then rotate the device and put it back on the table the reported device attitude is changing constantly, every time the reported rotation matrix is…
Hadi
  • 147
  • 9
0
votes
1 answer

UIScrollView scrolling directions

I am using a UIScrollView to scroll horizontally between 3 different UIViews (I call them pages because I have scrollView.pagingEnabled=YES;). Each page can also be scrolled vertically. My problem is that even if I use…
Cosmin
  • 2,840
  • 5
  • 32
  • 50
-1
votes
1 answer

Is it possible or a bad idea to move the player depending on the direction of the scene?

I would like to move my player not depending on his orientation but the direction of the scene (z of the scene and not z of the rotation) I really don t know how to do and if this is a good idea...
Iupyou
  • 21
  • 6
-1
votes
1 answer

How can my character decide on its own in which direction it can go?

I have to make my own Videogame in unity and I decided to redo the game Pacman, I am also very new to writing c# or coding in general. I am almost done with my project but the only thing I can`t finish is this script. It is for my ghosts in the game…
-1
votes
1 answer

Android: How can I get the facing direction of the phone and the angle of view

I want to calculate the overlapped area between two phones, so I need to know the facing direction of the phone and also the angle of view of the camera. Does anybody know how to get these information? Thanks! Following is an example: \ \ / / \ \/…
wzb5210
  • 735
  • 2
  • 9
  • 16
-1
votes
1 answer

How do you find if a string is counterclockwise or clockwise given a string made up of North South East and West directions?

I am trying to make a program that determines if something is the clockwise direction or counterclockwise direction based on string input that only contains north south east west (n s e w) for example, if I had the string "NESSWN" I know it is…
2EP
  • 1
  • 1
-1
votes
1 answer

How can I change word office paragraph direction in aspose word by C#

I want to change Direction by Aspose.Word Or OpenXml Word (WordprocessingDocument ) (C#). method is like here: private static void AddHtmlToDoc() { var html = @" Red Link
amin
  • 561
  • 6
  • 18
-1
votes
1 answer

perform function row wise in python

I have a function which takes all the points in particle flow and computes the difference. This is using openCV to track the way an object is moving within a video frame. I am wanting to compute the angle at which the elements are moving within the…
Mitch Storrie
  • 131
  • 1
  • 10
-1
votes
1 answer

How to prevent drop down list goes upwards?

I want to my drop-down list only goes downwards not in both direction Image