angle
How do I make make things move properly at angles in Java
I have a class called Bullet in a sort of birds eye view shooter game. I used to run it simply so that it moved based on an inputted direction, which could only be north south east or west. I 开发者_开[详细]
2023-03-18 04:50 分类:问答orient a uiimageView to the center of the screen
Well I have several images of plans that, every time we open the application, are created at a random position. What I want, is that every time a plan is created, his nose is oriented to the center of[详细]
2023-03-17 08:10 分类:问答Coordinates from angle and distance in iPhone
In my iPhone app, suppose I have the coordinates of the current location. I want to know the coordinates of a point 10km from here, and 30° North 开发者_开发知识库East for example. How do I calculate[详细]
2023-03-17 05:37 分类:问答Angle reflect in Cocos2d?
I am making a game in Cocos2d. I have a ball that will be shot at a flat surface (the top of the screen) how can I make it so the ball will travel, hit the surface, then reflect the angle and travel t[详细]
2023-03-12 19:17 分类:问答How to Determine if MousePos touches the Line?
Im not sure if this clear enough to describe the problem... I have 2 different points, S开发者_运维百科tart -> End then it forms a Line.[详细]
2023-03-12 12:01 分类:问答Jquery Trigonmetry?
I have a need to calculate the adjacent angle of a right angle triangle formed by a rectangle that is dictated by two sets of points. My plan is to use offset() on two elements to get absolute positio[详细]
2023-03-11 05:37 分类:问答Angle between two known android geolocations
I want to find an angle between two known geolocations.Basically what I want is, I want to direct an arrow whose tail point is at my current location and arrow head is pointing towards a fixed geoloca[详细]
2023-03-09 23:28 分类:问答Make an object rotate to angle of tilt with accelerometer in CoronaSDK?
with my first game I have a doodle I control with the accelerometer. In many games I\'ve seen that when the device is titled the object (in my case a doodle fish) rotate towards the tilt so it gives a[详细]
2023-03-09 22:56 分类:问答How to calibrate the accelerometer angle based on how the users is holding the device with Corona SDK?
Hey guys, I just finished my app with Corona SDK and thought I\'d try to make my first game. As my first app was learning about the accelerometer I thought my game should be with that too.[详细]
2023-03-09 20:56 分类:问答Modifying The Angle of a Unit Vector
I have an angle in the form of a unit vector. I need to be able to change this angle. Say the angle of the vector V = (x,y) is currently A. How would I go 开发者_Python百科about changing the angle to[详细]
2023-03-06 12:06 分类:问答