Quaternion rotation

The place to discuss scripting and game modifications for X Rebirth.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

User avatar
Sandalpocalypse
Posts: 4447
Joined: Tue, 2. Dec 03, 22:28
x4

Quaternion rotation

Post by Sandalpocalypse »

What are people using to rotate their turrets properly? I spent a few hours reading up on Quaternions and think I grasp the basic concept. But doing minor adjustments for angled turrets for ships is still a huge pain in the ass - Surely someone has a better way, or a model viewer, or something?
Irrational factors are clearly at work.
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader »

<rotation yaw="0" pitch="0" roll="0" /> (values are degrees)

or you can use the online calculator at the bottom of this site (i=qx, j=qy, k=qz, real=qw)
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)
User avatar
Sandalpocalypse
Posts: 4447
Joined: Tue, 2. Dec 03, 22:28
x4

Post by Sandalpocalypse »

Nice.

Thanks tons.
Irrational factors are clearly at work.
Goliathmk2
Posts: 146
Joined: Tue, 3. Jun 14, 17:58
x4

Post by Goliathmk2 »

What is being used to "preview" the changes, currently i'm hopping into game then closing to do some tweaks but i'd like to know if there is a better way.
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader »

as long as you dont add new Mod files it is enough to start a new Game, no need for a full restart ;) (only necesary when you added files)
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)

Return to “X Rebirth - Scripts and Modding”