Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about euler-angles

Read more about euler-angles

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)

Questions - euler-angles

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 ...
test-img

AlexanderAlexander

c#

unity-game-engine

vector

quaternions

euler-angles

Votes: 0

Answers: 2

Latest Answer

Using some quaternion algebra: Given this in Unity terms/c#: Desired child world = Quaternion.LookRotation(-target.forward) Child local = C1.localRotation` Given the equation for parent-child rotatio...
test-img

Ruzihm

Calibrating a gyroscope for different "flat" positions, then extracting x and y tilt

I have a top down 2D ball game like the old Labyrinth ball game. My game is played on a mobile phone. The user controls it by tilting the phone. The idea is that when you set the screen at a slant, th...
test-img

Catlard

unity-game-engine

accelerometer

quaternions

gyroscope

euler-angles

Votes: 0

Answers: 1

Latest Answer

UPDATE: Solved it! I've attached the class that handles my gyroscope offsets. Hopefully it helps you! Note that it's coded for Unity C#, and has a few of my custom classes in it already. using System....
test-img

Catlard

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved