Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 10:32
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
6 registered members (AndrewAMD, alibaba, fairtrader, ozgur, TipmyPip, Quad), 604 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Absolute/Relative Movement #266475
05/18/09 10:49
05/18/09 10:49
Joined: Oct 2008
Posts: 513
Carlos3DGS Offline OP
User
Carlos3DGS  Offline OP
User

Joined: Oct 2008
Posts: 513
Ok, so at first it seems quite simple. relative movement is movement oriented to the model's position/angles, and absolute movement is on the world's x,y,z axis

For movement it works like a charm, and i have correctly used relative and absolute movement many times.
My problem is with absolute rotation of a model. No matter how i do it I always get relative (oriented to model axis) tilt/roll rotations! Even when I edit the tilt/roll parameters of a model directly (with no function) it will also use relative (oriented to model axis) rotation...

the only value that seems to use absolute rotation (oriented to world's axis) when editing directly is pan.
cry

How do I change a model's tilt/roll angles in absolute values?
(I dont want the model to move, just rotate at the model's current position but in the directions of the world axis's tilt/roll and NOT the model's axis)

Last edited by Carlos3DGS; 05/18/09 12:56.

"The more you know, the more you realize how little you know..."

I <3 HORUS
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=401929&page=1
Re: Absolute/Relative Movement [Re: Carlos3DGS] #266591
05/18/09 19:32
05/18/09 19:32
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline
Expert
Germanunkol  Offline
Expert

Joined: Jun 2006
Posts: 2,640
Earth
maybe what you're seeing is that the angleschange in weird ways if tilt has reached 90 and goes above it.
Have you tried small values only?
For example: add an entity at 0,0,0 and add 10 to its pan every time you hit key_cul and 10 to its tilt every time you hit key_cuu, then display the new entity.pan and .tilt on the screen.
They should be correct until you reach large values (above 90) and should be absolute.


~"I never let school interfere with my education"~
-Mark Twain
Re: Absolute/Relative Movement [Re: Germanunkol] #266613
05/18/09 21:18
05/18/09 21:18
Joined: Oct 2008
Posts: 513
Carlos3DGS Offline OP
User
Carlos3DGS  Offline OP
User

Joined: Oct 2008
Posts: 513
No,that is not what I mean.
Mabe I didn't explain it well. Here is a picture to better explain what I mean.

I can never get absolute rotaition (relative to world axis no matter where the model is facing).
Even when I do not use any functions (I edit the tilt/roll directly) it always does relative rotation (rotation oriented to model's axis)

Does anyone know how i can get tilt/roll to do absolute rotation?


"The more you know, the more you realize how little you know..."

I <3 HORUS
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=401929&page=1
Re: Absolute/Relative Movement [Re: Carlos3DGS] #266615
05/18/09 21:27
05/18/09 21:27
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Do you mean a similar problem to this?

Transform Obejct independant of Orientation

Re: Absolute/Relative Movement [Re: Carlos3DGS] #266616
05/18/09 21:28
05/18/09 21:28
Joined: Apr 2009
Posts: 298
Southern Oceans
KiwiBoy Offline
Member
KiwiBoy  Offline
Member

Joined: Apr 2009
Posts: 298
Southern Oceans
A while ago some one suggested quaternions, whatever that is, as the tilt is subject to gimbol lock.

Currently jcl is writing a solution to incorporate within the next update, that should sort it out. I recall reading this not too long ago actually.


Use the 'manual' Luke, the manual is your friend. 'Self reminder' smile

My WebPage
Re: Absolute/Relative Movement [Re: Pappenheimer] #266620
05/18/09 22:03
05/18/09 22:03
Joined: Oct 2008
Posts: 513
Carlos3DGS Offline OP
User
Carlos3DGS  Offline OP
User

Joined: Oct 2008
Posts: 513
@Pappenheimer: Similar but not exactly. His problem is how to do absolute scaling after his model is rotated. My problem is how to do absolute rotation after my model is rotated.
Do you know how I can contact the person that helped him? Mabe he can help me also, my problem seems more simple.

@KiwiBoy: I did not understand what you were talking about but it sounds promising, please tell me more about that.


"The more you know, the more you realize how little you know..."

I <3 HORUS
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=401929&page=1
Re: Absolute/Relative Movement [Re: Carlos3DGS] #266627
05/18/09 22:28
05/18/09 22:28
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
FlorianP is the Nickname in this forums, don't know more about him.

Re: Absolute/Relative Movement [Re: Pappenheimer] #266682
05/19/09 07:19
05/19/09 07:19
Joined: Apr 2009
Posts: 298
Southern Oceans
KiwiBoy Offline
Member
KiwiBoy  Offline
Member

Joined: Apr 2009
Posts: 298
Southern Oceans
Sorry dont know anything anout it really.
Did you try incorporating abs and rel to the equation?


Use the 'manual' Luke, the manual is your friend. 'Self reminder' smile

My WebPage

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1