The transform tag has no wiki summary.
3
votes
1answer
113 views
Rotate object to always face camera
I'm trying to make a TextMesh appear when ever an enemy prefab is hit.
I currently have this functionality working. However, the text doesn't face the direction the players camera is looking.
At the ...
3
votes
1answer
157 views
How rotate a 3D cube at its center XNA?
I try to rotate a 3D cube on itself from its center, not the edge.
Here is my code used.
public rotatemyCube()
{
...
Matrix newTransform = Matrix.CreateScale(scale) * ...
1
vote
2answers
115 views
Pygame's rotation methods have crippling issues, but is it me or Python's pygame?
http://www.youtube.com/watch?v=lNJFxvR6ex8&feature=youtu.be
On rotate and rotozoom, can't find fixes on these on the internet, anywhere.
Basically, the video is showing 4 things in this order:
1. ...
1
vote
1answer
116 views
Skeletal Animation with UV seams
I have a UV-mapped model that I am about to animate and load into my game. Like most unwrapped models, I have several UV seams. In order to render the model correctly, I split each vertex along the ...
4
votes
1answer
117 views
How to transform mesh components?
I am attempting to transform the components of a mesh directly using a 4x4 matrix. This is working for the vertex positions, but it is not working for the normals (and probably not the tangents ...
-1
votes
2answers
129 views
How to transform gameObjects in array? [closed]
I have an array of available gameObjects in the scene. An array of GO should be transformed according to received floats through UDP connection. I know it is simple, but can't figure it out how to ...
0
votes
2answers
250 views
Unity scaling instantiated GameObject at Start() doesn't “keep”
I have a very simple scenario:
A box-like Prefab which is imported from Blender automatically (I have the .blend file in the Assets folder).
A script that has two public GameObject fields. In one I ...
1
vote
1answer
102 views
Rotate an image in a scaled context
Here is my working piece of code to rotate an image toward a point (in my case, the mouse cursor).
float dx = newx - ploc.x;
float dy = newy - ploc.y;
float angle = (float) ...