I've heard that you can tilt a part by a precise amount using the .CFrame property. However, I'm unclear on how to use it. The following code does not work:
Workspace.Part.CFrame = CFrame.new(90,0,45)
It is not rotating the part by 90 degrees and 45 degrees. What am I doing wrong?
...
I'm trying to make an application in cocos2d that can be used on multiple platforms (iPad, iPhone, iPod touch). Let's say I set a point to (360,160). The point would show up three fourths from the left and half way up the screen on the iPhone. Would it also do this on the ipad, or would I have to set the point to (768,384) to achieve thi...
Does anyone know where I could find a library of code for converting Lat/Lon position to Military Grid Reference System (MGRS)? I'm looking for a C# implementation if possible.
...
How can I get the cross street names of one particular street?
Lets say I am on a street name B and I want to get two street either side of street B. I also have co-ordinates for the street B.
I think this can be achieved using calculation over co-ordinates. How?
If B street has Lon: 40.4325342 and Lat: -72.5346344, can I get the near...
hi there!
i'm stuck with a seemingly simple problem in mathematics: i need to rotate points in a 2-dimensional cartesian coordinate system, i.e. i have a point given by (x/y) and an angle gamma and i need to get the coordinates of this point if rotated by gamma...
example: if x = 2 and y = 0 and the angle of rotation is 90°, the result...
I have to create a canvas that contains object with position in binding with latitude and longitude.
My canvas support element's drag and zooming but until now I have used always standard coordinate (from 0,0)
Now I have GPS coords and all objects overlap each other because GPS coord is for example between 45°11'00'N and 45°11'60N... s...
I'm trying to convert spherical coordinates (namely latitude and longitude from a GPS device) into Cartesian coordinates. I'm following this simple conversion derived from the polar coordinates conversion equations.
Then I'm calculating the distance between the two point applying the euclidean distance but the value I'm finding is not a...
This is somewhat related to another question I asked: Translate GPS coordinates to location on PDF Map. That got me to this point, now I'm stuck on the math.
Let's say I have a floor plan of a building, I've taken gps coordinate readings from each corner of the building. Also assume that the floor plan is lined up with the latitude an...
I'm trying to implement tap to focus and tap to exposure in my iPhone app.
I'm using the AVFoundation camera interface and I'm having trouble moving between the 2 co-ord systems.
UIView uses a system that goes from (0,0) in the top left (in portrait mode) to (320,480) in the bottom right.
However the AVCaptureSession uses a system tha...
I have a scenario which I think I can convey giving PC Monitor example (not real though).
Assume I have two monitors both of different resolution and properties. One monitor draws mouse cursor on screen from top (0) to bottom (max-value) and other draws mouse from bottom (0) to top (max-value). In other words both have reverse y-axis of...
Hi. now i making some problem with JAVA, but don't remember how get lenght between to coordinate-system.
Ex.
point A (3,7)
Point B (7,59)
I want to know how count distance between point a and b. very thanks for your answers. :-)
...
Is there a way to flip the SVG coordinate system so that [0,0] is in the lower left instead of the upper left?
...
I'm looking for an algorithm, and I have no idea where to start!
I'm trying to get from point A to point B in a cartesian graph. Movement is restricted to that of a RC car: backward, forward, forward-left, and forward-right (constant turning radius; car is either turning completely, or it is not turning at all).
How would I construct ...
I need to draw a Pie Arc in Java with start angle 350 and end angle 20.The cordinate system I follow is as follows:-
|0
|
270-----------90
|
|180
The problem here is that the start angle is greater than the end angle.For the other way round I have managed to draw the arc.Any help would be great.
...