≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
How to make rotation to camera smooth?
Posted by:
(you are not logged in)
Enter the missing letter in: "Interna?ional"
(you are not logged in)
Text:
[quote][b][/b] wrote: Okay, I somehow managed to do it... BUT now there's another problem: [code]var Vect = new vector3d (Rot.x - this.PrevRot.x, Rot.y - this.PrevRot.y, 0);[/code] What this line does, is that it takes current camera rotation and then substracts its previous rotation. Sounds fine, eh? Now here's the problem: if previous rotation, for example, was 358 and a new one is 364, it will turn 364 into just 4, so, 4 - 358 is a bit wrong answer here. How can I evade that?[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact