python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to calculate the quaternions of all 24 rotations of a cube?
Similar to these two previous questions (How to calculate all 24 rotations of 3d array?, How to get all 24 rotations of a 3-dimensional array?), I want to find the all the 90 degree rotations of an ob...
Johannes
Votes: 0
Answers: 1
Rotating towards a final rotation challenge
Consider this working script, that handles a FPS camera movement:
using UnityEngine;
public class CameraHandler : MonoBehaviour {
public Transform target;
float dragSpeed = 10f;
float loo...

rustyBucketBay
Votes: 0
Answers: 1
Spawning objects parallel to the terrain
Story
so I'm working on making a procedural terrain generator script to spawn rocks on the ground all the big rocks don't care what rotation they are but I have some small rocks that have to be parall...
Zacattack Space
Votes: 0
Answers: 1
Rotating Parent to Make Child Face Opposite Direction of Target's Forward
Scenario:
Parent P1 has Child C1
Target exists
All items' forward vectors face perfectly parallel to the X-Z Plane (pseudo 2D)
Positions of all objects are arbitrary
Child will never move on its own ...

AlexanderAlexander
Votes: 0
Answers: 2