Questions tagged [position]
The position tag has no summary.
26 questions
0 votes
1 answer
116 views
Teleport to random point behind Camera and within boundaries
I'm creating a third person game with companions following the player. The companions have a mechanic in which if they are too far away from the player and out of camera view, they'll be teleported ...
0 votes
0 answers
129 views
How to obtain the Position on the screen (Vector2) of the Position of an object in the world (Vector3)?
I have been searching around for a solution to this but still haven't been able to use it or find it, the thing is i need the Screen Position of an object that is being seen, for this i have three ...
0 votes
1 answer
95 views
Optimal position detection for character
In a classic fighting game like Mortal Kombat, character A is on the left facing right and character B is on the right facing left. At some point the characters can swap positions and hence where they'...
0 votes
1 answer
113 views
How do i put an entities x,y and z coordinates to a variable(?) in Blitz3D?
I'm making a TEST 3d platformer where the camera follows the player from above. Normally I would make the camera move at the same time when the player moved, for example: ...
0 votes
1 answer
142 views
Align Relative Portal Camera Position
I've been having a bit of trouble with this small piece of code. To set my relative PortalCam position, I first take the distance and angle from the Portal and Player Cam. Then apply the distance and ...
0 votes
1 answer
92 views
Changing Coordinate Origin [From Coord System A -> Coord System B]
I'd really appreciate some help on this one. Given 2 coordinate systems A and B where xA is an initial Vector3 position, rA is an initial Quaternion rotation xB is an initial Vector3 position, rB is ...
0 votes
1 answer
335 views
Bottom-left cell position is incorrect?
I need to get the position of the bottom-left cell on my tilemap. I used Floor.CellToWorld(Floor.cellBounds.min) (Floor is the name of my tilemap) and I used Gizmos ...
0 votes
0 answers
118 views
How can I snap a mesh to the grid, on dragging it into the scene, in Unity?
I've got a game that involves voxel-like game object management. Each voxel object snaps to the integer coordinates in Unity's scene, at play time—easy enough to do in the ...