Questions tagged [3d]

3D refers to three dimensional space where coordinates are represented with X, Y and Z values.

189 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
2answers
105 views

how to make image disappear in Unity 3D

Hey guys need your help with the scripting in Unity, that is, in my game there are several, say, buildings that a main character has to free from enemies and I put a kind of a logo above all those ...
0
votes
0answers
123 views

Vive SteamVR Stereo Rendering mirror doesn't reflect lineRenderer lines steadily

I'm creating a SteamVR game in Unity. I'm using the Vive SteamVR Stereo Rendering Toolkit to create the mirror effect. I also wrote a script to render three lines between headset, and two controllers, ...
0
votes
0answers
25 views

Use eyeray trigger to speak with NPC in Unity3D for Vive

I'm developing a first-person-player game in Unity for HTC Vive. Basically, I want my NPC to speak when my player looks at him for more than a second. I didn't find any eyeray tutorials to achieve ...
0
votes
0answers
108 views

Collision physics error

I am working on a game developed using Scenekit (iOS). I am facing some strange issues with collision physics. I have added one 3D table (with a hole at its center) to the scene. I am setting physics ...
0
votes
0answers
53 views

How can I avoid player see through the avatar?

I'm creating a SteamVR/HTC Vive game with Unity3D. I have a rigged avatar performing animations. Currently, if the player goes forward, it will see the moving eye balls and others inside the head. ...
0
votes
1answer
157 views

Unity crashes if there are more than 4 terrains

please can you help me with the issue that I face, that is, I decided to create open-world game by creating several terrains and connect them together in Unity and firstly respective size of the ...
0
votes
1answer
68 views

Camera rotation is weird when it's a child of another object

I implemented scene graph hierarchy into my 3D game engine, and there seems to be a problem with the camera's rotation when it is a child of another object. It only happens with the camera, not any ...
0
votes
0answers
321 views

3D Coulomb Friction - Use Collision Impulse To Calculate Friction Force?

I've been using this document to learn how to implement a very basic physics engine. The section on Coulomb Friction on page 55-56 (marked as pages 43-44) confuses me. It observes that the friction ...
0
votes
0answers
93 views

How can I spawn an object where I clicked in a 3D space, but spawn it in a 2D location?

I have a game where I have an object sat on a 3D plane and I want to click above it to drop an object. Wherever I click I want the object to drop where I clicked on the Z-axis, but on a fixed ...
0
votes
1answer
207 views

Shadow Shimmering When Moving Objects

I am having a shadow shimmering in my scene when using a shadow mapping technique. I know that there is a lot of posts over the internet dealing with this subject but my issue is slightly different. ...
0
votes
1answer
287 views

Lat, Lon and elevation Conversation into unity coordinates

I have came across a very vague project problem and its feasibility report or communication procedures I have to define. And here is the current scenario: I have two applications One is built on ...
0
votes
0answers
100 views

How to position a 3D crosshair on an objects face and set its angles **outward** from objects face?

What I have right now, is a ray tracer for my cursor on my canvas, when I click on the object, it gets the vector of my selection in the 3D space on the object I had my mouse on. The ray tracer ...
0
votes
1answer
227 views

Swept aabb 3d incorrect collision resolution along negative normals

I have followed this tutorial and ported it to 3d with glm. Everything works fine when the collision normal is reported as positive ((1,0,0),(0,1,0),(0,0,1)) but when it is negative the player aabb ...
0
votes
1answer
60 views

DuDv Map has seams

I've made a dudvMap to give my water a ripple effect, however it is giving it a repeated look and I can see the areas where two textures on the water meet It's a little hard to see here, but if you ...
0
votes
1answer
51 views

Third Person SpaceShip Camera Directx9 follows objekt but gets weird after moving object

We have the following code. It should follow the game Object in every step but it does not. In the beginning we can rotate the object where ever we want and it works but after moving it some the ...
0
votes
0answers
52 views

Defining camera/view space

Im working on expanding my camera class, but having trouble defining camera/view space in the manner of this diagram: What Im trying to achieve is to define the camera as a true object much like a ...
0
votes
0answers
134 views

3D Level Navigation Map for a 2D Mobile Game

I am currently making a game in which I want to create a level screen map. The Map doesn’t have to do anything with the game logic and stuff but I just want to add it to include a bit of richness. ...
0
votes
0answers
550 views

Tweening back from arbitrary 3D rotation in javascript

I'm using a 3D javascript library to rotate the vertex of a 3D object with a classic 3x3 matrix, to an arbitrary angle in the 3D space, as depicted in the image below. For example, a first rotation ...
0
votes
0answers
405 views

Bird flight simulation (physics)

I tried to search something about bird-like animal flight simulation but it looks like everything is spammed with flappy bird 2D questions. I want to have in my 3D game bird-like animals with ...
0
votes
0answers
85 views

Can materials be melted using code?

Say this ball for example : These three models have been created, to then use a simple morph transition to make the ball switch from 0 to 1 then to 2, and make it look like it's melting. But is it ...
0
votes
0answers
50 views

3D Picking: Doesn't Work Consistently

I'm trying to implement a 3D picking function that at the moment simply calculates the ray being sent from the camera after the user clicks the mouse on the window. It kind of works well when the ...
0
votes
0answers
2k views

Rotate model to face direction it's traveling in 3d with scenekit and swift - Boids implementation

I am implementing a boids simulation using Swift and Scenekit. Implementing the simulation itself has been fairly straight forward however I have been unable to make my models faces the direction they ...
0
votes
0answers
45 views

Rotating between two coordinate frames

I have two coordinate frames, A and B. I want to create the rotation matrix RAB which takes you from A to B. A is a right-handed system, and B is a left-handed system. Furthermore, after moving from a ...
0
votes
0answers
82 views

Stuck on a steering problem

i'm building a car game, and currently working on the steering. i would like to change the motion of Z rotation so that the car rotates around the Z axis when the wheels are turned. I can't set the ...
0
votes
0answers
193 views

Rendering a model with transparent or translucent uv map applied doesn't work

Before I try to make anything transparent, the model renders nicely. When I change the uv layout so that one piece of the model will be transparent, it renders horribly. This is the result with a ...
0
votes
0answers
385 views

Block picking / ray casting through 3d blocks always slightly off

I've been working on adding a line-of-sight/ray-tracing system to my 3d block-world game. I've tried several different methods and they all work fairly well. At the moment I'm using something similar ...
0
votes
0answers
62 views

3D Box Collision Data Import

I'm trying to implement a collision system using oriented bounding boxes, using a center for the box, it's extents as a 3D Vector and a rotation matrix, which is all stuff I picked up online and seem ...
0
votes
0answers
258 views

Generate complex (non-convex) polyhedron UV mapping

I need to find an approach to the problem of generating texture maps for non-convex polyhedrons without using a design tool like Maya. Specifically, I am mapping simulation results data onto a 3D ...
0
votes
0answers
488 views

Handling 3D perspective for different aspect ratio

I have problem for supporting different aspect ratio in developing Mobile Game. I was developing on 2:3 screen which is iPhone 4 (Retina). When I use width and height for screen size and use fixed ...
0
votes
1answer
135 views

2d grid for 3D game

I have a 3D game dungeon crawler game. It's procedurally generated. I have a bunch of prefab rooms that are used to put together this dungeon. When not in combat the player uses a navmesh to move ...
0
votes
1answer
178 views

Ended up with left handed coordinate system OpenGL but I need right handed

So I started to make my own engine, and got my Z axis pointing away from my camera. I don't know why it happened, I followed this tutorial pretty much. I'll post my persprojection and view ...
0
votes
1answer
144 views

Multitexturing depending on given variables?

I'm having trouble with rendering multiple textures. Using XNA gamestudio: working with 3D meshes and texturing. Effect.fx HLSL I do have a map/level that loads from a heightmap. - This works I have ...
0
votes
1answer
1k views

How can I generate 3D noise in chunks for terrain?

I'm trying to create a voxel engine that uses marching cubes to create smoothed terrain. I have most of it implemented, but I'm struggling with how I should create a noise function in three dimensions....
-1
votes
1answer
136 views

Convert 3D direction vectors to yaw/pitch/roll angles

I have the code below that takes a set of yaw, pitch, and roll rotation angles (in degrees), and populates forward, right, and up basis vectors to express this rotated orientation as a Cartesian ...
-1
votes
1answer
53 views

What is the alternative (new) 3d projection called that solves the stretching / zooming at sides of monitor?

I understand about camera's and projections etc, such that we have distortion and zooming when at the sides of the screen (exacerbated on 21:9 monitors), however a few years ago, in a Unity forum ...
-1
votes
1answer
325 views

Record new animation in Motion Builder

I was rigged a 3d character model using MotionBuilder software. now i want to record my own animation for this 3d model. im new for the motion builder and i was unable to find a good reference for ...
-1
votes
1answer
274 views

problem with bullets shooting in FPS game

Please check out my game here: http://still-escarpment-3701.herokuapp.com The problem is with shooting. The bullets keep on moving with the First person controller instead of moving from the same ...
-3
votes
1answer
88 views

Translate Object position into Time

I have a cube which i am moving in circle shape (with horizontal key input) is below code suggested. ...
-4
votes
2answers
360 views

Is it viable to make a Desktop Application with Unity?

Is it possible to make a desktop application with Unity? I want to make a application which can display 3d models, and you should be able to turn the models over, and change views. See TankiViewer as ...